Aligining the Dockerfile with the version in friendica/docker repository

This commit is contained in:
ne20002 2024-08-31 14:54:05 +00:00
parent f1301aec73
commit cf255f4538
No known key found for this signature in database
GPG key ID: 429E95F6E49B54C8
3 changed files with 15 additions and 6 deletions

View file

@ -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

View file

@ -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/*

View file

@ -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: