-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-template.yml
More file actions
140 lines (140 loc) · 2.85 KB
/
docker-compose-template.yml
File metadata and controls
140 lines (140 loc) · 2.85 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
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
133
134
135
136
137
138
139
140
services:
db:
restart: unless-stopped
image: "mariadb:10.6.9"
ports:
- "3307:3306"
environment:
MYSQL_ROOT_PASSWORD: "laser-arena-control"
MARIADB_ROOT_PASSWORD: "laser-arena-control"
MYSQL_DATABASE: "lac"
MARIADB_DATABASE: "lac"
volumes:
- mariadb:/var/lib/mysql
networks:
- backend
redis:
restart: unless-stopped
image: eqalpha/keydb:latest
ports:
- "6379:6379"
networks:
- backend
- frontend
volumes:
- redis-data:/data
php:
restart: unless-stopped
image: "heroyt/laser-arena-control:latest"
working_dir: /var/www/
links:
- db
- redis
depends_on:
- db
- redis
volumes:
- lac-data:/var/www
- lmx:/var/www/lmx
- /home/lac/private:/var/www/private
- /home/lac/logs:/var/www/logs
- /home/lac/uploads:/var/www/upload
ports:
- "8001:8001"
- "6001:6001"
- "2112:2112"
- "2114:2114"
- "9999:8080"
networks:
- backend
environment:
LAC_VERSION: "stable"
APP_NAME: "Laser arena control"
DB_HOST: "db"
DB_PORT: 3306
DB_DATABASE: "lac"
DB_USER: "root"
DB_PASSWORD: "laser-arena-control"
FEATURE_EVENT_SERVER: true
FEATURE_LEAGUE: true
FEATURE_CONTROL: false
FEATURE_GATES: false
FEATURE_TABLES: true
FEATURE_GROUPS: true
nginx_exporter:
restart: unless-stopped
image: nginx/nginx-prometheus-exporter:latest
ports:
- "9113:9113"
links:
- web
networks:
- backend
depends_on:
- web
command:
- -nginx.scrape-uri
- http://web:80/stub_status
web:
restart: unless-stopped
image: nginx
depends_on:
- php
- db
ports:
- "80:80"
- "443:443/tcp"
- "443:443/udp"
- "1935:1935"
networks:
- backend
- frontend
links:
- php
volumes:
- app-data:/var/www
- /home/lac/nginx:/etc/nginx
gotenberg:
restart: unless-stopped
image: gotenberg/gotenberg:8
networks:
- backend
ports:
- "3000:3000"
grafana:
restart: unless-stopped
image: grafana/grafana-oss
ports:
- "3001:3000"
links:
- prometheus
volumes:
- grafana-storage:/var/lib/grafana
networks:
- backend
prometheus:
restart: unless-stopped
image: prom/prometheus
ports:
- "9090:9090"
links:
- php
networks:
- backend
volumes:
- prometheus-storage:/prometheus
- ./prometheus.yml:/etc/prometheus/prometheus.yml
volumes:
mariadb:
grafana-storage:
app-data:
redis-data:
lmx:
driver: local
driver_opts:
type: cifs
device: "//your.ip/lasermaxx/shared"
o: username=xxxx,password=xxxxx,rw,file_mode=0777,dir_mode=0777
networks:
backend:
frontend: