-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose-dev.yml
84 lines (77 loc) · 2.08 KB
/
docker-compose-dev.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "3"
services:
postgis:
image: g3wsuite/postgis:11.0-2.5
ports:
- "5439:5432"
environment:
- POSTGRES_DBNAME=${G3WSUITE_POSTGRES_DBNAME},data_testing,data_production
- POSTGRES_USER=${G3WSUITE_POSTGRES_USER_LOCAL}
- POSTGRES_PASS=${G3WSUITE_POSTGRES_PASS}
- ALLOW_IP_RANGE=0.0.0.0/0
restart: on-failure
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
volumes:
- g3wsuite-pg-data:/var/lib/postgresql
healthcheck:
interval: 60s
timeout: 30s
retries: 3
test: "pg_isready"
networks:
internal:
aliases:
- ${WEBGIS_PUBLIC_HOSTNAME}
g3w-suite:
image: g3wsuite/g3w-suite:dev
environment:
- G3WSUITE_TILECACHE_PATH
- G3WSUITE_QDJANGO_SERVER_URL
- G3WSUITE_POSTGRES_DBNAME
- G3WSUITE_POSTGRES_USER
- G3WSUITE_POSTGRES_USER_LOCAL
- G3WSUITE_POSTGRES_PASS
- G3WSUITE_POSTGRES_HOST
- G3WSUITE_POSTGRES_PORT
- G3WSUITE_ORS_API_ENDPOINT
- G3WSUITE_ORS_API_KEY
- G3WSUITE_DEBUG
- G3WSUITE_GUNICORN_TIMEOUT
- TILESTACHE_CACHE_BUFFER_SIZE
- TILESTACHE_CACHE_TOKEN
- G3WSUITE_GUNICORN_NUM_WORKERS
- G3WSUITE_GUNICORN_MAX_REQUESTS
- G3WSUITE_GUNICORN_TIMEOUT
- FRONTEND
- PGSERVICEFILE
- QGIS_SERVER_LOG_FILE
- QGIS_SERVER_LOG_LEVEL
expose:
- "8000"
ports:
- "8000:8000"
restart: always
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
volumes:
- ${WEBGIS_DOCKER_SHARED_VOLUME}:/shared-volume
- ${WEBGIS_DOCKER_SHARED_VOLUME}/node_modules:/code/node_modules
- ./config/g3w-suite/overrides/templates:/code/templates:ro
- ./config/g3w-suite/settings_docker.py:/code/g3w-admin/base/settings/local_settings.py
- ./scripts:/scripts
- ${G3WSUITE_LOCAL_CODE_PATH}:/code
entrypoint: /scripts/docker-entrypoint-dev.sh
networks:
internal:
volumes:
shared-volume:
g3wsuite-pg-data:
networks:
internal: