-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 907 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 907 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
41
42
43
# This version spins up the production version of the reporting service with a corresponding DB
# This is useful for circle ci testing, or for testing in conjuction with the other protocol services
#
version: '3.5'
networks:
agency-network:
name: agency-network
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.0.0/24
services:
protocol-reporting:
build:
context: ./
dockerfile: Dockerfile.production
image: protocol-reporting
container_name: protocol-reporting
working_dir: /www
ports:
- "3022:3022"
expose:
- "3022"
networks:
- agency-network
tty: true
depends_on:
- reporting-db
env_file:
- ./.env
reporting-db:
image: postgres:11
container_name: reporting-db
command: postgres
networks:
- agency-network
tty: true
env_file:
- ./.env