mirror of
https://github.com/friendica/friendica
synced 2024-11-09 16:22:56 +00:00
Aligining the Dockerfile with the version in friendica/docker repository
This commit is contained in:
parent
f1301aec73
commit
cf255f4538
3 changed files with 15 additions and 6 deletions
|
@ -4,6 +4,9 @@ MYSQL_DATABASE=friendica
|
||||||
MYSQL_USER=friendica
|
MYSQL_USER=friendica
|
||||||
MYSQL_PASSWORD=friendica
|
MYSQL_PASSWORD=friendica
|
||||||
|
|
||||||
|
#Redis
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
|
||||||
#Webserver setup
|
#Webserver setup
|
||||||
ServerName=localhost
|
ServerName=localhost
|
||||||
ServerPort=8080
|
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
|
# pecl will claim success even if one install fails, so we need to perform each install separately
|
||||||
RUN pecl install apcu-${apcu_version}; \
|
RUN pecl install apcu-${apcu_version}; \
|
||||||
pecl install memcached-${memcached_version}; \
|
pecl install memcached-${memcached_version}; \
|
||||||
# pecl install redis-${redis_version}; \
|
pecl install redis-${redis_version}; \
|
||||||
# pecl install imagick-${imagick_version}; \
|
pecl install imagick-${imagick_version}; \
|
||||||
docker-php-ext-enable \
|
docker-php-ext-enable \
|
||||||
apcu \
|
apcu \
|
||||||
memcached
|
memcached \
|
||||||
# redis \
|
redis \
|
||||||
# imagick
|
imagick
|
||||||
|
|
||||||
RUN apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
RUN apt-get clean -y && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,12 @@ services:
|
||||||
# Runs app on the same network as the app container, allows "forwardPorts" in devcontainer.json function.
|
# Runs app on the same network as the app container, allows "forwardPorts" in devcontainer.json function.
|
||||||
network_mode: service:app
|
network_mode: service:app
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: redis:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
env_file: ".env"
|
||||||
|
network_mode: service:app
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mariadb-data:
|
mariadb-data:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue