forked from mhollander/Expungement-Generator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
eg-compose.yml
54 lines (52 loc) · 1.5 KB
/
eg-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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3' #this refers to the version of the dockerfile format.
# Version 3 of the docker-compose format:
# https://docs.docker.com/compose/compose-file/
services:
expungement_generator:
image: eg_front # or natev/eg-docker-frontend:latest
build:
context: .
dockerfile: Dockerfile
environment:
BASE_URL: "http://localhost:9090/"
CHARGE_DB_HOST: db
CHARGE_DB_USER: eg_user
CHARGE_DB_PASS: somerandompassword
CHARGE_DB_NAME: cpcms_aopc_summary
DB_HOST: db
DB_NAME: eg_db
DB_USER: eg_user
DB_PASS: somerandompassword
SENDGRID_KEY: somerandomkey
docketscaperAPIURL: "docketscraper_api"
networks:
- eg-net
ports:
- "9090:9090"
volumes:
- type: mount
target: /data
db:
image: eg_db # or natev/eg-docker-db:latest
build:
context: .
dockerfile: db_dockerfile
restart: always
environment:
MYSQL_ROOT_PASSWORD: someBigOleComplexPassword
MYSQL_DATABASE: eg_db
MYSQL_USER: eg_user
MYSQL_PASSWORD: somerandompassword
networks:
- eg-net
expose:
- "3306"
docketscraper_api:
image: "natev/docketscraper_api"
restart: always
networks:
- eg-net
expose:
- "8800"
networks:
eg-net: