-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.19 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
version: '3'
services:
projectlocator:
image: projectlocator
environment:
- ASPNETCORE_ENVIRONMENT=Staging
ports:
- "8080:80"
build:
context: ./ProjectLocator
dockerfile: Dockerfile
depends_on:
- hangfire-db
- identity-db
- application-db
hangfire-db:
image: postgres
restart: always
volumes:
- postgres_hangfire:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: hangfire-db-pass
POSTGRES_USER: hangfire-db
ports:
- "48010:5432"
identity-db:
image: postgres
restart: always
volumes:
- postgres_identity:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: identity-db-pass
POSTGRES_USER: identity-db
ports:
- "48011:5432"
application-db:
image: postgres
restart: always
volumes:
- postgres_application:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: application-db-pass
POSTGRES_USER: application-db
ports:
- "48012:5432"
volumes:
postgres_hangfire:
driver: "local"
postgres_identity:
driver: "local"
postgres_application:
driver: "local"