forked from codeforpdx/recordexpungPDX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.travis.yml
More file actions
36 lines (30 loc) · 881 Bytes
/
docker-compose.travis.yml
File metadata and controls
36 lines (30 loc) · 881 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
version: '3.1'
services:
db:
image: recordexpungpdx:database
env_file:
- config/postgres/postgres.env
volumes:
- database_storage:/var/lib/postgresql/data
ports:
- "5432:5432"
expungeservice:
image: recordexpungpdx:expungeservice
env_file:
- config/expungeservice/expungeservice.env
ports:
- "5000:5000"
depends_on:
- db
volumes:
- ./src/backend/tests:/var/www/tests
webserver:
image: recordexpungpdx:webserver
ports:
- "3000:3000"
### uncomment these lines to disable the webserver in the docker stack.
### This is useful if you'd rather run the npm server while developing frontend code.
#deploy:
# replicas: 0
volumes:
database_storage: