-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 1003 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: unless-stopped
volumes:
- nextledger-db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=nextledger_root
- MYSQL_PASSWORD=nextledger
- MYSQL_DATABASE=nextledger
- MYSQL_USER=nextledger
redis:
image: redis:7-alpine
restart: unless-stopped
nextcloud:
image: nextcloud:32-apache
restart: unless-stopped
ports:
- "8080:80"
depends_on:
- db
- redis
volumes:
- nextledger-nc:/var/www/html
- ./apps/nextledger:/var/www/html/custom_apps/nextledger
environment:
- MYSQL_HOST=db
- MYSQL_DATABASE=nextledger
- MYSQL_USER=nextledger
- MYSQL_PASSWORD=nextledger
- REDIS_HOST=redis
- NEXTCLOUD_ADMIN_USER=admin
- NEXTCLOUD_ADMIN_PASSWORD=admin
- NEXTCLOUD_TRUSTED_DOMAINS=localhost 127.0.0.1
volumes:
nextledger-db:
nextledger-nc: