This is a set of configuration and setup files to run a depositar site.
Copy the included .env.example
and rename it to .env
. Modify it depending on your own needs.
Please note that when accessing the depositar directly (via a browser) ie: not going through NGINX you will need to make sure you have "ckan" set up
to be an alias to localhost in the local hosts file. Either that or you will need to change the .env
entry for CKAN_SITE_URL
Using the default values on the .env.example
file will get you a working depositar instance. There is a sysadmin user created by default with the values defined in CKAN_SYSADMIN_NAME
and CKAN_SYSADMIN_PASSWORD
(ckan_admin
and test1234
by default). This should be obviously changed before running this setup as a public depositar instance.
To build the images:
docker compose build
To start the containers:
docker compose up
This will start up the containers in the current window. By default the containers will log direct to this window with each container
using a different colour. You could also use the -d "detach mode" option ie: docker compose up -d
if you wished to use the current
window for something else.
After this step, the depositar should be running at CKAN_SITE_URL
.