-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 972 Bytes
/
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
version: '3.8'
networks:
WalletRu:
services:
postgres:
container_name: 'postgres'
image: postgres:latest
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: WalletRuDb
ports:
- "5432:5432"
restart: always
networks:
- WalletRu
walletru.api:
container_name: walletru.api
image: walletru.api
build:
context: .
dockerfile: WalletRu.Api/Dockerfile
ports:
- "8080:8080" #http
depends_on:
postgres:
condition: service_started
restart: always
networks:
- WalletRu
walletru.client:
container_name: walletru.client
image: walletru.client
build:
context: .
dockerfile: WalletRu.Client/Dockerfile
ports:
- "8000:80"
depends_on:
postgres:
condition: service_started
walletru.api:
condition: service_started
restart: always
networks:
- WalletRu