-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 890 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 890 Bytes
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
services:
# demo mode - runs mock rds api server w/ main app for local testing
demo:
build:
context: .
dockerfile: Dockerfile
args:
TARGET: demo
ports:
- "8080:8080" # main web ui
- "9080:9080" # mock rds api server
volumes:
- ./.var/data/demo:/app/data
environment:
- APP_DATA_DIR=/app/data
- APP_AUTO_RESUME=true
- APP_DEMO_MODE=true
profiles:
- demo
# local server mode - runs the production server locally
server:
build:
context: .
dockerfile: Dockerfile
args:
TARGET: server
ports:
- "3010:3010"
volumes:
- ./.var/data/server:/app/data
- ~/.aws:/home/appuser/.aws:ro
env_file:
- .env
environment:
- AWS_PROFILE=${AWS_PROFILE}
- APP_DATA_DIR=/app/data
- APP_PORT=3010
profiles:
- server