forked from ACEmulator/ACE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 762 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 762 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
#version: '3'
services:
ace-db:
image: mysql:8.0
container_name: ace-db
env_file:
- docker.env
volumes:
- ./db-data:/var/lib/mysql
ports:
- "3306:3306/tcp"
restart: unless-stopped
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
ace-server:
build: .
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