Skip to content

Commit

Permalink
remove duplicate set_permissions.sql in favour of setting perms on th…
Browse files Browse the repository at this point in the history
…e fly
  • Loading branch information
florianm committed Sep 27, 2017
1 parent bda8860 commit 9b3ed5a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 76 deletions.
1 change: 0 additions & 1 deletion contrib/docker/postgresql/Dockerfile
Expand Up @@ -13,6 +13,5 @@ ARG DS_RO_PASS

# Include datastore setup scripts
ADD /docker-entrypoint-initdb.d/00_create_datastore.sql ./00_create_datastore.sql
ADD /docker-entrypoint-initdb.d/10_set_permissions.sql ./10_set_permissions.sql
ADD /docker-entrypoint-initdb.d/20_postgis_permissions.sql ./20_postgis_permissions.sql

This file was deleted.

3 changes: 0 additions & 3 deletions doc/maintaining/installing/install-from-docker-compose.rst
Expand Up @@ -174,9 +174,6 @@ a. Create and configure datastore database
With running CKAN containers, execute the built-in setup scripts against the ``db`` container::

docker exec -it db psql -U ckan -f 00_create_datastore.sql
# canned, possibly outdated:
# docker exec -it db psql -U ckan -f 10_set_permissions.sql
# fresh:
docker exec ckan /usr/local/bin/ckan-paster --plugin=ckan datastore set-permissions -c /etc/ckan/ckan.ini | docker exec -i db psql -U ckan

The first script will create the datastore database and the datastore readonly user in the ``db``
Expand Down

0 comments on commit 9b3ed5a

Please sign in to comment.