-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
57 lines (54 loc) · 1.27 KB
/
compose.yaml
File metadata and controls
57 lines (54 loc) · 1.27 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
services:
db:
image: mariadb:11.4
restart: unless-stopped
command:
- --transaction-isolation=READ-COMMITTED
- --log-bin=binlog
- --binlog-format=ROW
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud
volumes:
- ./docker/db:/var/lib/mysql
networks:
- schoolplanner
app:
image: nextcloud:33.0.0-apache
restart: unless-stopped
depends_on:
- db
ports:
- "8080:80"
environment:
MYSQL_HOST: db
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud
NEXTCLOUD_ADMIN_USER: admin
NEXTCLOUD_ADMIN_PASSWORD: admin
volumes:
- ./docker/nextcloud/html:/var/www/html
- ./:/var/www/html/custom_apps/schoolplanner
networks:
- schoolplanner
publish-mock:
image: node:22-alpine
restart: unless-stopped
working_dir: /srv/publish-mock
command: ["node", "server.js"]
ports:
- "8090:8090"
volumes:
- ./docker/publish-mock:/srv/publish-mock
networks:
- schoolplanner
networks:
schoolplanner:
enable_ipv6: true
ipam:
config:
- subnet: 172.31.250.0/24
- subnet: fd42:3456:789a:1::/64