-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
52 lines (49 loc) · 991 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
version: '3'
services:
db:
build: ./db
volumes:
- ./db/pgdata:/pgdata
ports:
- "5432"
environment:
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
- POSTGRES_DB=deskmate
- PGDATA=/pgdata
api:
build:
context: ./server
args:
app_env: ${APP_ENV}
volumes:
- ./server:/go/src/github.com/tylerconlee/Deskmate/server
depends_on:
- db
ports:
- "5000:8080"
environment:
- WAIT_HOSTS=db:5432
- WAIT_HOSTS_TIMEOUT=300
- WAIT_SLEEP_INTERVAL=15
- WAIT_HOST_CONNECT_TIMEOUT=30
links:
- db
zendesk:
build:
context: ./zendesk
args:
app_env: ${APP_ENV}
volumes:
- ./zendesk:/go/src/github.com/tylerconlee/Deskmate/zendesk
ports:
- "6000:8090"
frontend:
build:
context: ./client
args:
app_env: ${APP_ENV}
volumes:
- ./client/src:/client/src
ports:
- "3000:3000"