forked from BinaryStudioAcademy/bsa-2020-buildeR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (66 loc) · 1.53 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
version: '3.8'
services:
builder_api:
build:
context: ./backend
dockerfile: Dockerfile
args:
- PROJECT_NAME=API
- PROJECT_PORT=5050
container_name: 'builder_api'
restart: on-failure
ports:
- "5050:5050"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Production'
VAULT_ADDRESS: 'http://vault:8200'
VAULT_TOKEN_ID: 'buildeR_DEV_TOKEN'
builder_processor:
build:
context: ./backend
dockerfile: Dockerfile.Processor
container_name: 'builder_processor'
restart: on-failure
ports:
- "5060:5060"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Production'
VAULT_ADDRESS: 'http://vault:8200'
VAULT_TOKEN_ID: 'buildeR_DEV_TOKEN'
builder_signalr:
build:
context: ./backend
dockerfile: Dockerfile
args:
- PROJECT_NAME=SignalR
- PROJECT_PORT=5070
container_name: 'builder_signalr'
restart: on-failure
ports:
- "5070:5070"
networks:
- back
environment:
ASPNETCORE_ENVIRONMENT: 'Production'
builder_frontend:
depends_on:
- builder_api
- builder_processor
- builder_signalr
build: ./frontend
container_name: 'builder_frontend'
restart: on-failure
ports:
- "80:80"
networks:
- back
- front
networks:
back:
driver: bridge
front:
driver: bridge