-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-develop.yml
executable file
·47 lines (46 loc) · 1.61 KB
/
docker-compose-develop.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
version: "3"
services:
develop:
build: .
ports:
- "5100:5100"
env_file:
- .env
container_name: aqueduct_analysis-develop
environment:
PORT: 5100
ENVIRONMENT: dev
DEBUG: "True"
MICROSERVICE_TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU4MjBhZDk0NjlhMDI4Nzk4MmY0Y2QxOCIsInByb3ZpZGVyIjoibG9jYWwiLCJwcm92aWRlcklkIjpudWxsLCJlbWFpbCI6InNlcmdpby5nb3JkaWxsb0B2aXp6dWFsaXR5LmNvbSIsInJvbGUiOiJBRE1JTiIsImNyZWF0ZWRBdCI6IjIwMTYtMTEtMDdUMTY6MzY6MzYuODY4WiIsImV4dHJhVXNlckRhdGEiOnsiYXBwcyI6WyJnZnciLCJwcmVwIiwiYXF1ZWR1Y3QiLCJmb3Jlc3QtYXRsYXMiLCJydyIsImRhdGE0c2RnIl19fQ.3GzuhG8wD4gI5Fo6NTqHC_Dq6ChKPPWXygga2mAuKZw
POSTGRES_URL: postgresql+psycopg2://postgres:postgres@aqueduct-postgres:5432/flood_v2
AWS_REGION: "us-east-1"
REQUIRE_API_KEY: "True"
AWS_CLOUD_WATCH_LOGGING_ENABLED: "False"
command: develop
volumes:
- ./aqueduct:/opt/aqueduct/aqueduct
restart: always
depends_on:
- aqueduct-postgres
aqueduct-postgres:
image: postgres:9.6.19
restart: always
container_name: aqueduct-postgres
ports:
- "5432:5432"
environment:
POSTGRES_DB: flood_v2
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- ${LOCAL_DATABASE}:/var/lib/postgresql/data
- ./data:/docker-entrypoint-initdb.d/
## Only if you want to connect to db and don't have a db inspector
pgadmin-aq:
image: dpage/pgadmin4
container_name: pgadmin-aq
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "PgAdmin2019!"
ports:
- "16543:80"