Aligining the Dockerfile with the version in friendica/docker repository

pull/14412/head
ne20002 2024-08-31 14:54:05 +00:00
rodzic f1301aec73
commit cf255f4538
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 429E95F6E49B54C8
3 zmienionych plików z 15 dodań i 6 usunięć

Wyświetl plik

@ -4,6 +4,9 @@ MYSQL_DATABASE=friendica
MYSQL_USER=friendica
MYSQL_PASSWORD=friendica
#Redis
REDIS_HOST=127.0.0.1
#Webserver setup
ServerName=localhost
ServerPort=8080

Wyświetl plik

@ -61,13 +61,13 @@ RUN apt-get install -y --no-install-recommends \
# pecl will claim success even if one install fails, so we need to perform each install separately
RUN pecl install apcu-${apcu_version}; \
pecl install memcached-${memcached_version}; \
# pecl install redis-${redis_version}; \
# pecl install imagick-${imagick_version}; \
pecl install redis-${redis_version}; \
pecl install imagick-${imagick_version}; \
docker-php-ext-enable \
apcu \
memcached
# redis \
# imagick
memcached \
redis \
imagick
RUN apt-get clean -y && rm -rf /var/lib/apt/lists/*

Wyświetl plik

@ -37,7 +37,13 @@ services:
# Runs app on the same network as the app container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:app
redis:
image: redis:latest
restart: unless-stopped
env_file: ".env"
network_mode: service:app
volumes:
mariadb-data: