0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-25 12:50:54 +02:00

Reduce examples (#1484)

This commit is contained in:
J0WI 2021-04-26 17:15:37 +00:00 committed by GitHub
parent 45abf54d60
commit 953ebac32b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 188 additions and 914 deletions

View file

@ -9,6 +9,10 @@ services:
env_file:
- db.env
redis:
image: redis:alpine
restart: always
app:
image: nextcloud:apache
restart: always
@ -18,10 +22,22 @@ services:
- nextcloud:/var/www/html
environment:
- POSTGRES_HOST=db
- REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
- redis
cron:
image: nextcloud:apache
restart: always
volumes:
- nextcloud:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
volumes:
db: