-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
54 lines (50 loc) · 1.11 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
version: '3'
services:
db:
image: postgres:10.4
ports:
- "5432:5432"
volumes:
- db_data:/var/lib/postgreSQL
restart: always
environment:
POSTGRES_ROOT_PASSWORD: postgres
POSTGRES_DB: db
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
networks:
- backend
providers-mock:
image: aliniribeiroo/providers-mock:latest
ports:
- "8081:8081"
restart: always
networks:
- backend
pi-docker-postgres:
depends_on:
- db
- providers-mock
image: aliniribeiroo/pidecor-admin:latest
ports:
- "8080:8080"
restart: always
environment:
PI_DB_HOST: jdbc:postgresql://db:5432/db
PI_DB_USER: postgres
PI_DB_PASSWORD: postgres
PROVIDERS_APP_NAME: providers-mock
networks:
- backend
web:
image: aliniribeiroo/admin-module-frontend:latest
ports:
- "4200:4200"
networks:
- backend
volumes:
db_data:
### Networks Setup ############################################
networks:
backend:
driver: "bridge"