-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
65 lines (59 loc) · 1.22 KB
/
docker-compose.local.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
version: '3'
services:
burning-gateway:
container_name: burning-gateway
build: ./api
ports:
- 8081:8081
restart: on-failure
volumes:
- api:/usr/src/app/
networks:
- burning-network
# Vue App
client:
container_name: burning-client
build: ./client
ports:
- 8080:80
nginx:
container_name: burning-nginx
image: nginx:latest
volumes:
- ./nginx/local/nginx.conf:/etc/nginx/nginx.conf
ports:
- 80:80
- 443:443
depends_on:
- burning-gateway
- client
restart: always
db:
container_name: burning-db
image: postgres
volumes:
- db-burning:/var/lib/postgresql/data
ports:
- 5432:5432
networks:
- burning-network
environment:
- POSTGRES_USER=dev
- POSTGRES_PASSWORD=dev
- POSTGRES_DB=burning_db
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: dev
ports:
- "5050:80"
# Networks to be created to facilitate communication between containers
networks:
burning-network:
driver: bridge
volumes:
db-burning:
api: