2020-09-17 11:32:00 +02:00
|
|
|
version: "3"
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2022-07-12 10:44:55 +02:00
|
|
|
volumes:
|
|
|
|
ckan_config:
|
|
|
|
ckan_home:
|
|
|
|
ckan_storage:
|
|
|
|
pg_data:
|
|
|
|
solr_data:
|
|
|
|
|
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:
|
2022-07-12 10:44:55 +02:00
|
|
|
container_name: ${NGINX_CONTAINER_NAME}
|
2020-09-17 11:32:00 +02:00
|
|
|
build:
|
|
|
|
context: nginx/
|
|
|
|
dockerfile: Dockerfile
|
2022-07-11 13:32:17 +02:00
|
|
|
#links:
|
|
|
|
# - ckan
|
2020-09-17 11:32:00 +02:00
|
|
|
ports:
|
2022-07-11 13:32:17 +02:00
|
|
|
- "0.0.0.0:81:80"
|
2021-10-29 17:05:48 +02:00
|
|
|
|
2022-07-11 13:32:17 +02:00
|
|
|
#ckan:
|
|
|
|
# container_name: ckan
|
|
|
|
# build:
|
|
|
|
# context: ckan/
|
|
|
|
# dockerfile: Dockerfile
|
|
|
|
# args:
|
|
|
|
# - TZ=${TZ}
|
|
|
|
# env_file:
|
|
|
|
# - .env
|
2022-07-12 10:44:55 +02:00
|
|
|
#depends_on:
|
|
|
|
# db:
|
|
|
|
# condition: service_healthy
|
|
|
|
# solr:
|
|
|
|
# condition: service_healthy
|
|
|
|
# redis:
|
|
|
|
# condition: service_healthy
|
2022-07-11 13:32:17 +02:00
|
|
|
# ports:
|
|
|
|
# - "0.0.0.0:${CKAN_PORT}:5000"
|
2022-07-12 10:44:55 +02:00
|
|
|
#volumes:
|
|
|
|
# - ckan_config:/etc/ckan
|
|
|
|
# - ckan_home:/usr/lib/ckan
|
2022-07-11 13:32:17 +02:00
|
|
|
# - ckan_storage:/var/lib/ckan
|
2022-07-12 10:44:55 +02:00
|
|
|
#restart: unless-stopped
|
|
|
|
#healthcheck:
|
|
|
|
# test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:5000"]
|
2021-10-29 17:05:48 +02:00
|
|
|
|
2022-07-12 10:44:55 +02:00
|
|
|
datapusher:
|
|
|
|
container_name: ${DATAPUSHER_CONTAINER_NAME}
|
|
|
|
build:
|
|
|
|
context: datapusher/
|
|
|
|
args:
|
|
|
|
- DATAPUSHER_VERSION=${DATAPUSHER_VERSION}
|
|
|
|
ports:
|
|
|
|
- "8800:8800"
|
|
|
|
restart: unless-stopped
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2022-07-12 10:44:55 +02:00
|
|
|
db:
|
|
|
|
container_name: ${POSTGRESQL_CONTAINER_NAME}
|
|
|
|
build:
|
|
|
|
context: postgresql/
|
|
|
|
args:
|
|
|
|
- DATASTORE_READONLY_PASSWORD=${DATASTORE_READONLY_PASSWORD}
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
environment:
|
|
|
|
- DATASTORE_READONLY_PASSWORD=${DATASTORE_READONLY_PASSWORD}
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
|
|
- PGDATA=/var/lib/postgresql/data/db
|
|
|
|
volumes:
|
|
|
|
- pg_data:/var/lib/postgresql/data
|
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "pg_isready", "-U", "ckan"]
|
2021-10-29 17:05:48 +02:00
|
|
|
|
2022-07-12 10:44:55 +02:00
|
|
|
solr:
|
|
|
|
container_name: ${SOLR_CONTAINER_NAME}
|
|
|
|
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
|
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"]
|
2015-04-16 02:41:10 +02:00
|
|
|
|
2020-09-17 11:32:00 +02:00
|
|
|
redis:
|
2022-07-12 10:44:55 +02:00
|
|
|
container_name: ${REDIS_CONTAINER_NAME}
|
2021-12-10 14:35:25 +01:00
|
|
|
image: redis:${REDIS_VERSION}
|
2022-07-12 10:44:55 +02:00
|
|
|
restart: unless-stopped
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "redis-cli", "-e", "QUIT"]
|
2021-10-29 17:05:48 +02:00
|
|
|
|