-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (63 loc) · 1.17 KB
/
docker-compose.yml
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
version: '3'
services:
mariadb:
image: "bitnami/mariadb:latest"
volumes:
- ./docker/db:/bitnami/mariadb
environment:
# MARIADB_ROOT_PASSWORD: rootpass
MARIADB_DATABASE: eqemu
MARIADB_USER: eqemu
MARIADB_PASSWORD: eqemupass
ALLOW_EMPTY_PASSWORD: "yes"
ports:
- "3306:3306"
expose:
- "3306"
# network_mode: "bridge"
eqemu:
stdin_open: true
build: ./docker/eqemu/.
volumes:
- "./deploy/server:/eqemu"
links:
- mariadb
- web
- nats
depends_on:
- mariadb
- nats
ports:
- "5998-5999:5998-5999/udp"
- "7000-7100:7000-7100/udp"
- "9000:9000/udp"
- "9001:9001"
- "9080:9080"
expose:
- "5998-5999/udp"
- "7000-7100/udp"
- "9000/udp"
- "9080/udp"
web:
stdin_open: true
build: ./docker/web/.
volumes:
- "./deploy/web:/var/www"
links:
- mariadb
- nats
depends_on:
- mariadb
- nats
ports:
- "80:80"
nats:
image: "nats:latest"
ports:
- "4222:4222"
- "6222:6222"
- "8222:8222"
expose:
- "4222/tcp"
- "6222/tcp"
- "8222/tcp"