docker-ckan/README.txt

24 lines
962 B
Plaintext
Raw Normal View History

2020-09-17 11:43:24 +02:00
### Please note that this re-purposed CKAN Docker repo is a WORK IN PROGRESS ###
2020-09-17 14:02:02 +02:00
### It should not be used to install CKAN via Docker until this page is updated ###
2021-12-16 13:59:49 +01:00
(From Adria)
Be limited in scope, and act as a base that users can extend to their own needs
Be opinionated, and provide one way to do things
Be automatically tested
2021-01-15 16:05:22 +01:00
2021-12-16 13:59:49 +01:00
have an nginx container included?
2020-10-07 16:42:24 +02:00
2021-12-16 13:59:49 +01:00
ARG should be used for sensitive variables so as to keep the values of these variables
out of the build and hence will not show with an "inspect image" command
2021-01-15 16:05:22 +01:00
2021-12-16 13:59:49 +01:00
Do we pre-build a CKAN image and use that (and extend) as the base image OR
just build it from scratch and while saving to storage what we need to
2021-05-12 16:25:03 +02:00
2021-12-16 13:59:49 +01:00
Use a bind mount for the config file (ckan.ini)
docker cp ckan:/srv/app/ckan.ini ./ckan.ini
docker run -p <port1>:<port2> --mount type=bind,source="$(pwd)"/ckan.ini,target=/srv/app/ckan.ini -d <ckan_base_image>
Maybe include a script to replace docker-compose if required
2021-01-15 16:05:22 +01:00
2021-12-10 14:48:02 +01:00