mirror of https://github.com/friendica/friendica
Aligining the Dockerfile with the version in friendica/docker repository
parent
f1301aec73
commit
cf255f4538
|
@ -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
|
||||
|
|
|
@ -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/*
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue