-
Notifications
You must be signed in to change notification settings - Fork 2
/
compose.yaml
132 lines (122 loc) · 2.69 KB
/
compose.yaml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
version: '3.7'
services:
arcturus:
build:
context: arcturus
env_file:
- .env
volumes:
- ./assets/:/app/assets/
ports:
#- 3000:3000 # gameport
#- 3001:3001 # rcon
- 2096:2096 # websocket port
depends_on:
- db
restart: unless-stopped
networks: [nitro]
nitro:
build:
context: nitro
env_file:
- .env
volumes:
- ./nitro/nginx.conf:/etc/nginx/conf.d/default.conf
- ./nitro/renderer-config.json:/usr/share/nginx/html/renderer-config.json
- ./nitro/ui-config.json:/usr/share/nginx/html/ui-config.json
ports:
- 3000:80
restart: unless-stopped
networks: [nitro]
assets-build:
build:
context: assets
env_file:
- .env
volumes:
- ./assets/configuration.json:/app/configuration.json
- ./assets/assets:/app/assets
restart: "no"
networks: [nitro]
db:
image: mysql:8
depends_on:
- backup
env_file:
- .env
ports:
- 3310:3306
volumes:
- ./db/data:/var/lib/mysql
- ./db/conf.d:/etc/mysql/conf.d
- ./db/dumps:/docker-entrypoint-initdb.d
restart: unless-stopped
networks: [nitro]
backup:
image: tiredofit/db-backup
volumes:
- ./db/backup:/backup
environment:
- TIMEZONE=UTC
- DB_TYPE=mysql
- DB_HOST=db
- DB_USER=$MYSQL_USER
- DB_PASS=$MYSQL_PASSWORD
- DB_NAME=$MYSQL_DATABASE
- COMPRESSION=GZ
- ENABLE_CHECKSUM=TRUE
- CHECKSUM=SHA1
- DB_DUMP_BEGIN=0315
- DB_DUMP_FREQ=1440
- DB_CLEANUP_TIME=10080
- CREATE_LATEST_SYMLINK=FALSE
- CONTAINER_ENABLE_MONITORING=FALSE
restart: unless-stopped
networks: [nitro]
assets:
image: nginx:alpine
restart: unless-stopped
depends_on:
- imager
- imgproxy
env_file:
- .env
ports:
- 8080:80
volumes:
- ./assets/nginx:/etc/nginx/conf.d/
- ./assets/:/usr/share/nginx/html
networks: [nitro]
imager:
build:
context: imager
env_file:
- .env
volumes:
- ./assets/:/app/assets/
restart: unless-stopped
networks: [nitro]
imgproxy:
image: ghcr.io/willnorris/imageproxy
volumes:
- "./assets/usercontent/imageproxy/cache:/tmp/imageproxy"
env_file:
- .env
restart: unless-stopped
networks: [nitro]
cms:
build:
context: atomcms
depends_on:
- assets
- arcturus
ports:
- "8081:80"
volumes:
- ".cms.env:/var/www/html/.env"
- "./atomcms/storage:/var/www/html/storage/app/public"
- "./atomcms/logs:/var/www/html/storage/logs"
restart: unless-stopped
networks: [nitro]
networks:
nitro: