Merge pull request #160 from ckan/no-ckan-port

remove broken, confusing CKAN_PORT setting
This commit is contained in:
Brett Jones 2024-07-19 14:21:29 +02:00 committed by GitHub
commit a1ae332cb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 6 deletions

View File

@ -30,8 +30,6 @@ USE_HTTPS_FOR_DEV=false
CKAN_VERSION=2.10.0 CKAN_VERSION=2.10.0
CKAN_SITE_ID=default CKAN_SITE_ID=default
CKAN_SITE_URL=https://localhost:8443 CKAN_SITE_URL=https://localhost:8443
CKAN_PORT=5000
CKAN_PORT_HOST=5000
CKAN___BEAKER__SESSION__SECRET=CHANGE_ME CKAN___BEAKER__SESSION__SECRET=CHANGE_ME
# See https://docs.ckan.org/en/latest/maintaining/configuration.html#api-token-settings # 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__ENCODE__SECRET=string:CHANGE_ME

View File

@ -248,9 +248,6 @@ ckan
Add these lines to the `ckan-dev` service in the docker-compose.dev.yml file Add these lines to the `ckan-dev` service in the docker-compose.dev.yml file
```yaml ```yaml
ports:
- "0.0.0.0:${CKAN_PORT}:5000"
stdin_open: true stdin_open: true
tty: true tty: true
``` ```

View File

@ -21,7 +21,7 @@ services:
- solr - solr
- redis - redis
ports: ports:
- "0.0.0.0:${CKAN_PORT_HOST}:${CKAN_PORT}" - "0.0.0.0:${CKAN_PORT_HOST}:5000"
volumes: volumes:
- ckan_storage:/var/lib/ckan - ckan_storage:/var/lib/ckan
- ./src:/srv/app/src_extensions - ./src:/srv/app/src_extensions