Skip to content

Commit

Permalink
ckan (#8): added datapusher
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Apr 18, 2020
1 parent ae01494 commit c74124c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ansible/playbooks/docker-ckan-stack-start.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
state: present
services:
- ckan
- postgresql
- datapusher
- db
- solr
- redis
register: output
Expand Down
1 change: 1 addition & 0 deletions docker/ckan-stack/.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ POSTGRES_PORT=5432
# Readwrite user/pass will be ckan:POSTGRES_PASSWORD
# Readonly user/pass will be datastore_ro:DATASTORE_READONLY_PASSWORD
DATASTORE_READONLY_PASSWORD=datastore
CKAN_MAX_UPLOAD_SIZE_MB=256
13 changes: 10 additions & 3 deletions docker/ckan-stack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
# # - traefik.http.routers.https.tls.certresolver=letsencrypt
ckan:
image: ckan/ckan:latest
container_name: ckan
ports:
- "0.0.0.0:${CKAN_PORT}:5000"
environment:
Expand All @@ -45,7 +46,7 @@ services:
- ckan_home:/usr/lib/ckan
- ckan_storage:/var/lib/ckan
links:
- postgresql
- db
- solr
- redis
labels:
Expand All @@ -55,12 +56,18 @@ services:
- traefik.http.routers.https.tls=true
# - traefik.http.routers.https.tls.certresolver=letsencrypt

datapusher:
container_name: datapusher
image: clementmouchet/datapusher
ports:
- "8800:8800"

# https://hub.docker.com/r/ckan/postgresql
# ckan_postgresql:
# image: nginxdemos/hello
postgresql:
db:
image: ckan/postgresql
container_name: postgresql
container_name: db
environment:
- DS_RO_PASS=${DATASTORE_READONLY_PASSWORD}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
Expand Down
1 change: 1 addition & 0 deletions docker/full-stack/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ services:
# Admin Access (hxl.etiva.dev server) admin:cplppass
portainer:
image: portainer/portainer
container_name: portainer
# command: -H tcp://tasks.agent:9001 --tlsskipverify
# TODO: remove these exposed ports
ports:
Expand Down

0 comments on commit c74124c

Please sign in to comment.