geosolutions-it / ckan-docker-dcatapit

2 stars 0 forks source link

ckan-docker-dcatapit

Deployment diagram

CKAN compose

Build and composition

To debug the composition locally please add CKAN_HOST value to /etc/hosts with 127.0.0.1 ip address, by default the host is ckan. Once you checkout the project run these command inside its path:


cp .env-sample .env
docker-compose build
docker-compose up -d

Run composition in production

Edit .env file and change COMPOSE_PROFILES=dev to COMPOSE_PROFILES=prod in order to enable proxy service then run:


docker-compose up -d

Without editing .env:


docker-compose --profile prod up -d