-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
38 lines (34 loc) · 988 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
# For development purposes only.
version: "3"
services:
app:
build:
context: .
dockerfile: Watcherfile
volumes:
- ./:/go/src/github.com/briansimoni/stereodose/
working_dir: /go/src/github.com/briansimoni/stereodose/
ports:
- "4000:4000"
- "40000:40000" # dlv debug server port
depends_on:
- db
security_opt:
- seccomp:unconfined
environment:
- STEREODOSE_CLIENT_ID=${STEREODOSE_CLIENT_ID}
- STEREODOSE_CLIENT_SECRET=${STEREODOSE_CLIENT_SECRET}
- STEREODOSE_REDIRECT_URL=${STEREODOSE_REDIRECT_URL}
- STEREODOSE_ENCRYPTION_KEY=${STEREODOSE_ENCRYPTION_KEY}
- STEREODOSE_AUTH_KEY=${STEREODOSE_AUTH_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
command: modd
db:
image: postgres
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_DB: stereodose
POSTGRES_PASSWORD: development