-
Notifications
You must be signed in to change notification settings - Fork 33
/
docker-compose.yml
68 lines (65 loc) · 1.36 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
64
65
66
67
68
version: '3.8'
x-node: &x-node
build: .
volumes:
- ./config:/src/config
environment:
- DEPLOYMENT=docker-compose
- USER=${USER}
services:
database:
image: bitnami/mariadb:10.5
ports:
- 127.0.0.1:3306:3306
volumes:
- database:/bitnami/mariadb
# - ./corsaceInit.sql:/docker-entrypoint-initdb.d/corsaceInit.sql
environment:
- MARIADB_DATABASE=corsace
- MARIADB_USER=corsace
- MARIADB_PASSWORD=corsace
- MARIADB_ROOT_PASSWORD=changeme
# - BITNAMI_DEBUG=true
phpmyadmin:
image: phpmyadmin
ports:
- 127.0.0.1:3380:80
environment:
- PMA_HOST=database
- PMA_USER=corsace
- PMA_PASSWORD=corsace
centrifugo:
image: centrifugo/centrifugo:v5.0.2
network_mode: host
volumes:
- ./centrifugo-config.json:/centrifugo/config.json
command: centrifugo -c config.json -p 8001
ulimits:
nofile:
soft: 65535
hard: 65535
corsace:
<<: *x-node
ports:
- 127.0.0.1:4000:4000
command: "main"
ayim:
<<: *x-node
ports:
- 127.0.0.1:3000:3000
command: "ayim"
mca:
<<: *x-node
ports:
- 127.0.0.1:8000:8000
command: "mca"
api:
<<: *x-node
ports:
- 127.0.0.1:8080:8080
command: "api"
migrator:
<<: *x-node
command: "typeorm migration:run"
volumes:
database: