-
-
Notifications
You must be signed in to change notification settings - Fork 66
/
Copy pathdocker-compose.yml
99 lines (93 loc) · 2.15 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: '3.7'
services:
db:
container_name: noscore-db
image: postgres:12.0-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=postgres
ports:
- 5432:5432
volumes:
- ./postgres:/var/lib/postgresql/data
networks:
- noscore-network
reverse-proxy:
container_name: noscore-reverse-proxy
image: noscoreio/noscore.reverseproxy:latest
restart: unless-stopped
ports:
- 4000:4000
- 1337:1337
expose:
- 4000
- 1337
networks:
- noscore-network
master:
container_name: noscore-master
environment:
- PORT=5000
- DB_HOST=host.docker.internal
- WEBAPI_HOST=http://master
build:
context: ./
dockerfile: deploy/Dockerfile-master
restart: unless-stopped
ports:
- 5000:5000
expose:
- 5432
networks:
- noscore-network
volumes:
- ./build/net7.0/linux-musl-x64:/app/build/net7.0
- ./configuration/:/app/build/configuration
world:
container_name: noscore-world
environment:
- WEBAPI_PORT=5001
- WEBAPI_HOST=http://world
- WORLD_PORT=1337
- MASTER_HOST=http://master
- DB_HOST=host.docker.internal
- HOST=127.0.0.1
build:
context: ./
dockerfile: deploy/Dockerfile-world
restart: unless-stopped
ports:
- 5001:5001
- 1337:1337
expose:
- 5432
networks:
- noscore-network
volumes:
- ./build/net7.0/linux-musl-x64:/app/build/net7.0
- ./configuration/:/app/build/configuration
login:
container_name: noscore-login
environment:
- LOGIN_PORT=4000
- MASTER_HOST=http://master
- DB_HOST=host.docker.internal
- HOST=127.0.0.1
build:
context: ./
dockerfile: deploy/Dockerfile-login
restart: unless-stopped
ports:
- 4000:4000
expose:
- 5432
networks:
- noscore-network
volumes:
- ./build/net7.0/linux-musl-x64:/app/build/net7.0
- ./configuration/:/app/build/configuration
networks:
noscore-network:
driver: bridge