-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yaml
154 lines (143 loc) · 3.61 KB
/
docker-compose.yaml
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
---
# The project Docker compose file for development.
version: '2.0'
services:
config:
extends:
file: docker-compose-lib.yaml
service: config
print:
extends:
file: docker-compose-lib.yaml
service: print
volumes_from:
- config:ro
ports:
- 28080:8080
environment:
- CATALINA_OPTS=-Xmx1024m
- PGOPTIONS=-c statement_timeout=30000
redis:
extends:
file: docker-compose-lib.yaml
service: redis
geoportal:
extends:
file: docker-compose-lib.yaml
service: geoportal
volumes_from:
- config:ro
volumes:
- /var/sig:/var/sig:ro
- ./data:/var/luxdata:ro
environment:
- CASIPO_STAGING_URL
- PAG_OWNCLOUD_PASSWORD
- LDAP_PASSWD
- FAKE_REVERSE_GEOCODING=1
- PAG_OWNCLOUD_INTERNAL_URL
- FAKE_PRINT_URLS=http://print:8080/print/geoportailv3,http://print:8080/print/geoportailv3
- PAG_FME_TOKEN
- SHORTENER_BASE_URL
- ROUTING_MAPQUEST_API_KEY
- LOG_LEVEL=INFO
- AUTHTKT_SECURE=false
- CASIPO_OWNCLOUD_EXTERNAL_URL
- LDAP_BIND
- DB_MYMAPS
- FAKE_CMSSEARCH=1
- DHM_DEM_FILE=/var/luxdata/dem500.tif
- ANF_EMAIL
- GUNICORN_ACCESS_LOG_LEVEL=INFO
- PGSCHEMA
- PAG_PROD_URL
- IGNORE_I18N_ERRORS=TRUE
- SQL_LOG_LEVEL=INFO
- AGE_CRUES_EMAIL
- CASIPO_SMTP_SERVER
- LDAP_URL
- LDAP_FILTER_TMPL
- PDS_BCC_ADDRESS
- PAG_OWNCLOUD_USER
- FAKE_FULLTEXT_SEARCH=1
- AGE_CRUES_LAYERS
- CASIPO_PROD_URL
- CASIPO_OWNCLOUD_INTERNAL_URL
- C2CGEOPORTAL_LOG_LEVEL=INFO
- PAG_OWNCLOUD_EXTERNAL_URL
- ANF_MAP_ID
- ELASTIC_SERVERS
- DB_ECADASTRE
- DB_POI
- CASIPO_OWNCLOUD_USER
- DHM_DEM_TYPE=gdal
- PAG_STAGING_URL
- PDS_PROD_URL
- AUTHTKT_SECRET=a_super_secret_for_auth_at_least_64_characters_long_for_sha512_algo_otherwise_not_good
- CASIPO_BCC_ADDRESS
- AGE_CRUES_SHOW_LINK
- SHORTENER_ALLOWED_HOST
- DEBUG_TOOLBAR=1
- GUNICORN_LOG_LEVEL=INFO
- AGE_CRUES_ROLES
- PDS_SMTP_SERVER
- CASIPO_FME_TOKEN
- FAKE_LAYERSEARCH=0
- OTHER_LOG_LEVEL=WARN
- CASIPO_OWNCLOUD_PASSWORD
- PAG_SMTP_SERVER
- DEFAULT_MYMAPS_ROLE
- GUNICORN_PARAMS=--bind=:8080 --threads=10 --timeout=60 --reload --forwarded-allow-ips=* --limit-request-line=8190
- DB_PGROUTE
- MAILER_DIRECTORY
- AGE_CRUES_MAP_ID
- PDS_STAGING_URL
- C2CWSGIUTILS_CONFIG=/app/development.ini
- PAG_BCC_ADDRESS
- ELASTIC_INDEX
- LDAP_BASE_DN
- PAG_FILE_SERVER
- ROUTING_GRAPHHOPPER_API_KEY
ports:
- 8080:8080
alembic:
extends:
file: docker-compose-lib.yaml
service: alembic
environment:
- PGHOST
- PGHOST_SLAVE
- PGPORT
- PGUSER
- PGPASSWORD
- PGDATABASE
- PGSCHEMA
- PGSCHEMA_STATIC
- PGOPTIONS
command: ./bin/alembic_upgrade_all.sh
# front:
# extends:
# file: docker-compose-lib.yaml
# service: front
# volumes_from:
# - config:ro
# Rich image for project development with e.-g. vim, tree, awscli, psql, ...
tools:
volumes_from:
- config:rw
volumes:
- .:/src
extends:
file: docker-compose-lib.yaml
service: tools
# lux specific additions
elasticsearch:
image: elasticsearch:5.0
environment:
ES_JAVA_OPTS: -Xmx512m -Xms512m
volumes:
- ./elasticsearch-config:/usr/share/elasticsearch/config:ro
ports:
- 9200:9200
ldap:
image: lux-dev-ldap