-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (44 loc) · 929 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
version: "3"
services:
api-gateway:
container_name: api-gateway
build:
context: .
dockerfile: "./api-gateway/Dockerfile"
depends_on:
- server-db
ports:
- "3001:3001"
volumes:
- ./api-gateway:/opt/app
server-db:
container_name: server_db
image: postgres
environment:
POSTGRES_DB: db
POSTGRES_USER: admin
POSTGRES_PASSWORD: secret
ports:
- "3101:5432"
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: secret
PGADMIN_LISTEN_PORT: 80
ports:
- "3201:80"
logging:
driver: none
client-app:
container_name: client-app
build:
context: .
dockerfile: "./client-app/Dockerfile"
depends_on:
- api-gateway
ports:
- "3000:3000"
volumes:
- ./client-app:/opt/app