forked from WoWAnalyzer/WoWAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (44 loc) · 1.02 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
version: '3'
services:
dev:
build:
context: .
dockerfile: Dockerfile.dev
container_name: wowanalyzer-dev
ports:
- 3000:3000
- 35729:35729
volumes:
- .:/usr/src/wowanalyzer/
- /usr/src/wowanalyzer/node_modules/
server-dev:
build:
context: .
dockerfile: Dockerfile.server-dev
container_name: wowanalyzer-server-dev
environment:
- MYSQL_HOST=database
- MYSQL_ROOT_PASSWORD=my-secret-pw
ports:
- 3000:3000
volumes:
- ./server:/usr/src/wowanalyzer/server/
package:
build:
context: .
dockerfile: Dockerfile.package
container_name: wowanalyzer
environment:
- MYSQL_HOST=database
- MYSQL_ROOT_PASSWORD=my-secret-pw
ports:
- 3000:3000
database:
image: "mariadb:10.3"
command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
environment:
- MYSQL_ROOT_PASSWORD=my-secret-pw
- MYSQL_DATABASE=wowanalyzer
restart: always
ports:
- 4306:3306