2020-09-17 11:32:00 +02:00
|
|
|
version: "3"
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
services:
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
nginx:
|
|
|
|
container_name: nginx
|
|
|
|
build:
|
|
|
|
context: nginx/
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
links:
|
|
|
|
- ckan
|
|
|
|
ports:
|
|
|
|
- "0.0.0.0:80:80"
|
2021-10-29 17:05:48 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
ckan:
|
|
|
|
container_name: ckan
|
|
|
|
build:
|
|
|
|
context: ckan/
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
args:
|
|
|
|
- TZ=${TZ}
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
links:
|
|
|
|
- db
|
|
|
|
- solr
|
|
|
|
- redis
|
|
|
|
- datapusher
|
|
|
|
ports:
|
2020-09-29 12:34:56 +02:00
|
|
|
- "0.0.0.0:${CKAN_PORT}:5000"
|
2020-09-17 11:32:00 +02:00
|
|
|
volumes:
|
2021-10-29 17:05:48 +02:00
|
|
|
- ckan_storage:/var/lib/ckan
|
|
|
|
|
|
|
|
datapusher:
|
|
|
|
container_name: datapusher
|
|
|
|
image: kowhai/datapusher:0.0.17
|
|
|
|
ports:
|
|
|
|
- "8800:8800"
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
db:
|
|
|
|
container_name: db
|
|
|
|
build:
|
2021-10-29 17:05:48 +02:00
|
|
|
context: postgresql/
|
2020-09-17 11:32:00 +02:00
|
|
|
args:
|
|
|
|
- DATASTORE_READONLY_PASSWORD=${DATASTORE_READONLY_PASSWORD}
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
environment:
|
|
|
|
- DATASTORE_READONLY_PASSWORD=${DATASTORE_READONLY_PASSWORD}
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
2021-05-10 15:21:02 +02:00
|
|
|
- PGDATA=/var/lib/postgresql/data/db
|
2020-09-17 11:32:00 +02:00
|
|
|
volumes:
|
|
|
|
- pg_data:/var/lib/postgresql/data
|
2021-10-29 17:05:48 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
solr:
|
|
|
|
container_name: solr
|
|
|
|
build:
|
2021-10-29 17:05:48 +02:00
|
|
|
context: solr/
|
2020-09-17 11:32:00 +02:00
|
|
|
volumes:
|
2021-10-29 17:05:48 +02:00
|
|
|
- solr_data:/opt/solr/server/solr/ckan/data/index
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
redis:
|
|
|
|
container_name: redis
|
2021-12-10 14:35:25 +01:00
|
|
|
image: redis:${REDIS_VERSION}
|
2021-10-29 17:05:48 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
ckan_storage:
|
|
|
|
pg_data:
|
|
|
|
solr_data:
|