2017-08-13 16:08:39 +02:00
|
|
|
services:
|
|
|
|
db:
|
2018-11-15 15:49:33 +01:00
|
|
|
image: postgres:alpine
|
2017-08-13 16:08:39 +02:00
|
|
|
restart: always
|
2024-04-18 15:30:37 +02:00
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
2017-08-13 16:08:39 +02:00
|
|
|
volumes:
|
2024-04-18 15:30:37 +02:00
|
|
|
- db:/var/lib/postgresql/data:Z
|
2017-08-13 16:08:39 +02:00
|
|
|
env_file:
|
|
|
|
- db.env
|
|
|
|
|
2021-04-26 19:15:37 +02:00
|
|
|
redis:
|
|
|
|
image: redis:alpine
|
|
|
|
restart: always
|
|
|
|
|
2018-08-01 22:55:25 +02:00
|
|
|
app:
|
2018-11-15 15:49:33 +01:00
|
|
|
image: nextcloud:fpm-alpine
|
2017-08-13 16:08:39 +02:00
|
|
|
restart: always
|
2024-04-18 15:30:37 +02:00
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
2017-08-13 16:08:39 +02:00
|
|
|
volumes:
|
2023-03-28 18:05:53 +02:00
|
|
|
- nextcloud:/var/www/html:z
|
2017-09-05 23:41:20 +02:00
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST=db
|
2021-04-26 19:15:37 +02:00
|
|
|
- REDIS_HOST=redis
|
2017-08-13 16:08:39 +02:00
|
|
|
env_file:
|
|
|
|
- db.env
|
2017-08-16 20:57:33 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
2021-04-26 19:15:37 +02:00
|
|
|
- redis
|
2017-08-13 16:08:39 +02:00
|
|
|
|
|
|
|
web:
|
2017-08-14 15:32:08 +02:00
|
|
|
build: ./web
|
2017-08-13 16:08:39 +02:00
|
|
|
restart: always
|
2024-04-18 15:30:37 +02:00
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
2017-08-13 16:08:39 +02:00
|
|
|
ports:
|
2021-07-18 23:52:26 +02:00
|
|
|
- 127.0.0.1:8080:80
|
2017-08-13 16:08:39 +02:00
|
|
|
volumes:
|
2023-03-28 18:05:53 +02:00
|
|
|
- nextcloud:/var/www/html:z,ro
|
2017-08-16 20:57:33 +02:00
|
|
|
depends_on:
|
|
|
|
- app
|
2017-08-13 16:08:39 +02:00
|
|
|
|
2021-04-26 19:15:37 +02:00
|
|
|
cron:
|
2021-04-28 16:57:30 +02:00
|
|
|
image: nextcloud:fpm-alpine
|
2021-04-26 19:15:37 +02:00
|
|
|
restart: always
|
2024-04-18 15:30:37 +02:00
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "50m"
|
2021-04-26 19:15:37 +02:00
|
|
|
volumes:
|
2023-03-28 18:05:53 +02:00
|
|
|
- nextcloud:/var/www/html:z
|
2021-04-26 19:15:37 +02:00
|
|
|
entrypoint: /cron.sh
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- redis
|
|
|
|
|
2017-08-13 16:08:39 +02:00
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
nextcloud:
|