Merge pull request #37 from ckan/beaker-env-var-plus-docker-compose-tidyup
Updates to .env files (secrets) and docker-compose.yml
This commit is contained in:
commit
1279b16423
4
.env
4
.env
|
@ -33,6 +33,10 @@ CKAN_SITE_ID=default
|
|||
CKAN_SITE_URL=http://ckan:5000
|
||||
CKAN_PORT=5000
|
||||
CKAN_PORT_HOST=5000
|
||||
CKAN___BEAKER__SESSION__SECRET=CHANGE_ME
|
||||
# See https://docs.ckan.org/en/latest/maintaining/configuration.html#api-token-settings
|
||||
CKAN___API_TOKEN__JWT__ENCODE__SECRET=string:CHANGE_ME
|
||||
CKAN___API_TOKEN__JWT__DECODE__SECRET=string:CHANGE_ME
|
||||
CKAN_SYSADMIN_NAME=ckan_admin
|
||||
CKAN_SYSADMIN_PASSWORD=test1234
|
||||
CKAN_SYSADMIN_EMAIL=your_email@example.com
|
||||
|
|
|
@ -33,6 +33,10 @@ CKAN_SITE_ID=default
|
|||
CKAN_SITE_URL=http://ckan:5000
|
||||
CKAN_PORT=5000
|
||||
CKAN_PORT_HOST=5000
|
||||
CKAN___BEAKER__SESSION__SECRET=CHANGE_ME
|
||||
# See https://docs.ckan.org/en/latest/maintaining/configuration.html#api-token-settings
|
||||
CKAN___API_TOKEN__JWT__ENCODE__SECRET=string:CHANGE_ME
|
||||
CKAN___API_TOKEN__JWT__DECODE__SECRET=string:CHANGE_ME
|
||||
CKAN_SYSADMIN_NAME=ckan_admin
|
||||
CKAN_SYSADMIN_PASSWORD=test1234
|
||||
CKAN_SYSADMIN_EMAIL=your_email@example.com
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
version: "3"
|
||||
|
||||
volumes:
|
||||
ckan_config:
|
||||
ckan_home:
|
||||
ckan_storage:
|
||||
pg_data:
|
||||
solr_data:
|
||||
|
@ -27,10 +25,7 @@ services:
|
|||
condition: service_healthy
|
||||
ports:
|
||||
- "0.0.0.0:${CKAN_PORT_HOST}:${CKAN_PORT}"
|
||||
|
||||
volumes:
|
||||
- ckan_config:/etc/ckan
|
||||
- ckan_home:/usr/lib/ckan
|
||||
- ckan_storage:/var/lib/ckan
|
||||
- ./src:/srv/app/src_extensions
|
||||
restart: unless-stopped
|
||||
|
@ -64,6 +59,8 @@ services:
|
|||
solr:
|
||||
container_name: ${SOLR_CONTAINER_NAME}
|
||||
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
|
||||
volumes:
|
||||
- solr_data:/var/solr
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"]
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
version: "3"
|
||||
|
||||
volumes:
|
||||
ckan_config:
|
||||
ckan_home:
|
||||
ckan_storage:
|
||||
pg_data:
|
||||
solr_data:
|
||||
|
@ -39,10 +37,7 @@ services:
|
|||
condition: service_healthy
|
||||
ports:
|
||||
- "0.0.0.0:${CKAN_PORT_HOST}:${CKAN_PORT}"
|
||||
|
||||
volumes:
|
||||
- ckan_config:/etc/ckan
|
||||
- ckan_home:/usr/lib/ckan
|
||||
- ckan_storage:/var/lib/ckan
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
|
@ -75,6 +70,8 @@ services:
|
|||
solr:
|
||||
container_name: ${SOLR_CONTAINER_NAME}
|
||||
image: ckan/ckan-solr:${SOLR_IMAGE_VERSION}
|
||||
volumes:
|
||||
- solr_data:/var/solr
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO", "/dev/null", "http://localhost:8983/solr/"]
|
||||
|
|
Loading…
Reference in New Issue