Skip to content

Commit

Permalink
url
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilianoPizarro committed Sep 27, 2023
1 parent 1a281a5 commit bc8a50e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ckan-run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
echo "CKAN RUN"
ckan -c /usr/lib/ckan/config/who.ini run
ckan -c /usr/lib/ckan/config/who.ini run --host 0.0.0.0
2 changes: 1 addition & 1 deletion ckan/config/who.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ beaker.session.secret = tBpNxJK_3Lmto4lUwGzPpE1jC
who.config_file = /usr/lib/ckan/config/who.ini

## Site Settings
ckan.site_url = https://5000-$GITPOD_WORKSPACE_ID.$GITPOD_WORKSPACE_CLUSTER_HOST
ckan.site_url = $CKAN_SITE_URL
solr_url = http://solr:8983/solr/ckan
sqlalchemy.url = postgresql://ckan:ckan@db:5432/ckan
ckan.redis.url = redis://redis:6379/1
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ services:
ports:
- "5000:5000"
environment:
- CKAN_INI=/usr/lib/ckan/config/who.ini
- CKAN_INI=/usr/lib/ckan/config/who.ini
- CKAN_SITE_URL=https://5000-${GITPOD_WORKSPACE_ID}.${GITPOD_WORKSPACE_CLUSTER_HOST}
- WTF_CSRF_ENABLED=False
- WTF_CSRF_CHECK_DEFAULT=True
- OAUTHLIB_INSECURE_TRANSPORT=True
- GITPOD_WORKSPACE_ID=$GITPOD_WORKSPACE_ID
- GITPOD_WORKSPACE_CLUSTER_HOST=$GITPOD_WORKSPACE_CLUSTER_HOST
- GITPOD_WORKSPACE_ID=${GITPOD_WORKSPACE_ID}
- GITPOD_WORKSPACE_CLUSTER_HOST=${GITPOD_WORKSPACE_CLUSTER_HOST}
volumes:
- ./who.ini:/usr/lib/ckan/config/who.ini
depends_on:
Expand Down

0 comments on commit bc8a50e

Please sign in to comment.