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:
parent
45abf54d60
commit
953ebac32b
30 changed files with 188 additions and 914 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue