-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (39 loc) · 982 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
38
39
40
41
42
43
44
version: '3'
services:
chrome:
image: selenium/standalone-chrome
ports:
- 4444:4444
networks:
- app-tier
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
networks:
- app-tier
python_app:
build:
context: .
dockerfile: Dockerfile
environment:
ENVIRONMENT: "local"
DB_USER: "root"
DB_PASS: "password"
USE_SELENIUM: "true"
CHROMEDRIVER_REMOTE: "http://chrome:4444/wd/hub"
SEED_URL: "https://web.archive.org/web/20200406193325/https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/compliance-actions-and-activities/warning-letters"
depends_on:
- mongo
networks:
- app-tier
# keep the container up and running, so we can exec into it
command:
tail -f /dev/null
volumes:
- ./:/app
networks:
app-tier:
driver: bridge