forked from weecology/retriever-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
34 lines (32 loc) · 879 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
version: '3'
services:
pgdb_recipes:
image: kartoza/postgis:11.0-2.5
volumes:
- ./cli_tools/postgis-data:/var/lib/postgresql
- ./cli_tools/:/backups
container_name: pgdb_recipes_container
environment:
- POSTGRES_DB=testdb_retriever
- POSTGRES_USER=postgres
- POSTGRES_PASS=Password12!
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,postgis_topology
- ALLOW_IP_RANGE=0.0.0.0/0
restart: on-failure
python_recipes:
container_name: recipes_container
environment:
TZ: America/New_York
DEBIAN_FRONTEND: noninteractive
"IN_DOCKER" : "true"
"PGUSER" : "postgres"
"PGPASSWORD" : "Password12!"
"PGDATABASE" : "testdb_retriever"
"PGPORT" : "5432"
"PGHOST" : "pgdb_recipes"
restart: on-failure
build: .
depends_on:
- pgdb_recipes
ports:
- 5001:80