-
Notifications
You must be signed in to change notification settings - Fork 1
/
.docker_env
28 lines (23 loc) · 992 Bytes
/
.docker_env
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
# for docker-compose, database hosts are the service names in docker-compose.yml
POSTGRES_HOST=postgis
SMTP_HOST=fake-smtp-server
REDIS_URL=redis://redis:6379/0
ADMIN_PASS=admin
# you can change the directory to wherever you want the data to reside on the host
# MUST be an absolute path
# EDIT: Shouldn't be needed in fact, at least for the web app,
# since it checks if it's a docker env and sets it to /app/data
# DATA_DIR=/home/nilsnolde/dev/gis-ops/routing-graph-packager/data
VALHALLA_URL="http://app"
POSTGRES_DB=gis
POSTGRES_USER=admin
POSTGRES_PASS=admin
# If you need a SSL certificate to be respected on the gunicorn level
# Paths are local to the container (/app/ssl is mapped in docker-compose)
# IT put certs in /data/certs. A Volume is configured to read there.
SSL_CERT='ssl/server.crt'
SSL_KEY='ssl/server.key'
# Valhalla image exclusive env vars
# How many threads to build tiles? Should be two less than available threads
CONCURRENCY=14