-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (80 loc) · 2.18 KB
/
docker-compose.yml
File metadata and controls
86 lines (80 loc) · 2.18 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
name: ace-metrics-demo
services:
ace-init:
container_name: ace-init
build:
dockerfile: ace-init.dockerfile
volumes:
- ./Dats:/ace/Dats
- ./Mods:/ace/Mods
labels:
org.label-schema.group: "utilities"
profiles:
- init
ace-db:
image: mysql:8.0
container_name: ace-db
env_file:
- docker.env
volumes:
- ./mysql-data:/var/lib/mysql
ports:
- "3306:3306/tcp"
command: mysqld --disable-log-bin --innodb-buffer-pool-size=4G
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
ace-server:
image: acemulator/ace:latest
depends_on:
ace-db:
condition: service_healthy
container_name: ace-server
env_file:
- docker.env
volumes:
- ./Config:/ace/Config
- ./Content:/ace/Content
- ./Dats:/ace/Dats
- ./Logs:/ace/Logs
- ./Mods:/ace/Mods
ports:
- "9000-9001:9000-9001/udp"
stdin_open: true
#restart: unless-stopped
restart: on-failure
ace-prometheus:
image: prom/prometheus:latest
container_name: ace-prometheus
volumes:
- ./prometheus:/etc/prometheus
- ./prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention.time=200h'
- '--web.enable-lifecycle'
restart: unless-stopped
ports:
- 9090:9090
labels:
org.label-schema.group: "monitoring"
ace-grafana:
image: grafana/grafana-enterprise:latest
container_name: ace-grafana
volumes:
- ./grafana-data:/var/lib/grafana
- ./grafana/provisioning:/etc/grafana/provisioning
environment:
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Editor
restart: unless-stopped
ports:
- 3000:3000
labels:
org.label-schema.group: "monitoring"