forked from ukparliament/thorney
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (36 loc) · 951 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
version: '3'
services:
thorney.parliament.local:
build:
context: .
args:
RACK_ENV: 'development'
volumes:
- .:/app
- /app/vendor/bundle/
- /app/tmp/
command: '/bin/sh -c "if [ -f /app/tmp/pids/server.pid ]; then rm -f /app/tmp/pids/server.pid; fi && bundle exec rails s -b 0.0.0.0 -p 5401"'
ports:
- '3000:5401'
environment:
- OPENSEARCH_DESCRIPTION_URL
- OPENSEARCH_AUTH_TOKEN
- BANDIERA_URL
- APPLICATION_INSIGHTS_INSTRUMENTATION_KEY
- PARLIAMENT_BASE_URL
augustus.parliament.local:
build:
context: ../augustus
args:
NODE_ENV: 'development'
volumes:
- ../augustus/:/app
- /app/node_modules/
depends_on:
- thorney.parliament.local
command: 'npm start'
ports:
- '80:5400'
environment:
- APPLICATION_INSIGHTS_INSTRUMENTATION_KEY
- THORNEY_HOST=thorney.parliament.local