2017-07-13 17:50:04 +02:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
db:
|
2021-07-19 00:00:36 +02:00
|
|
|
image: mariadb:10.5
|
2018-04-19 18:47:19 +02:00
|
|
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
2017-07-13 17:50:04 +02:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- db:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
- MYSQL_ROOT_PASSWORD=
|
|
|
|
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:
|
2017-09-05 23:41:20 +02:00
|
|
|
image: nextcloud:apache
|
2017-07-13 17:50:04 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
2021-07-18 23:52:26 +02:00
|
|
|
- 127.0.0.1:8080:80
|
2017-07-13 17:50:04 +02:00
|
|
|
volumes:
|
|
|
|
- nextcloud:/var/www/html
|
2017-09-05 23:41:20 +02:00
|
|
|
environment:
|
|
|
|
- MYSQL_HOST=db
|
2021-04-26 19:15:37 +02:00
|
|
|
- REDIS_HOST=redis
|
2017-07-13 17:50:04 +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
|
|
|
|
|
|
|
|
cron:
|
|
|
|
image: nextcloud:apache
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- nextcloud:/var/www/html
|
|
|
|
entrypoint: /cron.sh
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- redis
|
2017-07-13 17:50:04 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
nextcloud:
|