-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (45 loc) · 979 Bytes
/
docker-compose.yml
File metadata and controls
50 lines (45 loc) · 979 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.7'
services:
contradb:
build: ./ContraDB
volumes:
- /dock/contradomain/contradb:/var/lib/postgresql/data:z
networks:
- contranet
hostname: contradb
contralog:
build: ./ContraLog
volumes:
- /dock/contradomain/contralog:/var/lib/clickhouse:z
networks:
- contranet
hostname: contralog
contracore:
build: ./ContraCore
networks:
- contranet
depends_on:
- contradb
- contralog
working_dir: "/opt/"
command: ["/opt/wait-for-it.sh", "contradb:5432", "--", "/opt/coredns"]
ports:
- "530:53/tcp"
- "530:53/udp"
- "64417:64417/tcp"
hostname: contracore
contraweb:
build: ./ContraWeb
networks:
- contranet
depends_on:
- contradb
- contracore
command: ["dotnet", "./Web.dll"]
ports:
- "80:80/tcp"
hostname: contraweb
environment:
- ASPNETCORE_URLS=http://0.0.0.0:80
networks:
contranet: