-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
53 lines (51 loc) · 982 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
51
52
53
version: '3'
services:
db:
image: postgres:10.4-alpine
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: db-helpo
ports:
- "5432:5432"
volumes:
- ./postgres-data:/var/lib/postgresql/data
api:
build: helpo-api/.
env_file:
- helpo-api/.env
ports:
- "8000:8000"
volumes:
- ./helpo-api:/code
depends_on:
- db
web:
build: helpo-web/.
env_file:
- helpo-web/.env
ports:
- "3001:3000"
volumes:
- ./helpo-web/src:/usr/src/app/src
depends_on:
- db
- api
- facade
facade:
build: helpo-facade/.
stdin_open: true
ports:
- "3000:3000"
volumes:
- ./helpo-facade/src:/usr/src/app/src
pgadmin:
image: thajeztah/pgadmin4
volumes:
- ./pgadmin:/pgadmin/
ports:
- "5050:5050"
depends_on:
- db
# Default docker-compose, made for development