chore: Added missing env file

This commit is contained in:
Maicol Battistini 2024-08-19 15:52:26 +02:00
parent fd5bbf30fd
commit ebe4ca506d
No known key found for this signature in database
3 changed files with 39 additions and 4 deletions

View File

@ -29,9 +29,9 @@ Directory layout:
## Running CKAN using docker-compose
To start CKAN using docker-compose, simply change into the *compose* directory and run
```sh
cd compose/2.9
docker-compose build
docker-compose up
cd compose/2.10
docker compose --env-file .docker.env build
docker compose --env-file .docker.env up
```
Check if CKAN was succesfuly started on http://localhost:5000.

35
compose/2.10/.docker.env Normal file
View File

@ -0,0 +1,35 @@
# Variables in this file will be used as build arguments when running
# docker-compose build and docker-compose up
# Verify correct substitution with "docker-compose config"
# If variables are newly added or enabled, please delete and rebuild the images to pull in changes:
# docker-compose down -v
# docker-compose build
# docker-compose up -d
# Database
POSTGRES_PASSWORD=ckan
POSTGRES_PORT=5432
DATASTORE_READONLY_PASSWORD=datastore
# CKAN
CKAN_VERSION=2.10.4
CKAN_SITE_ID=default
CKAN_SITE_URL=http://localhost:5000
CKAN_PORT=5000
CKAN_MAX_UPLOAD_SIZE_MB=10
# Datapusher
DATAPUSHER_VERSION=0.0.17
DATAPUSHER_MAX_CONTENT_LENGTH=10485760
DATAPUSHER_CHUNK_SIZE=16384
DATAPUSHER_CHUNK_INSERT_ROWS=250
DATAPUSHER_DOWNLOAD_TIMEOUT=30
DATAPUSHER_SSL_VERIFY=False
DATAPUSHER_REWRITE_RESOURCES=True
DATAPUSHER_REWRITE_URL=http://ckan:5005
# SOLR
CKAN_CORE_NAME=ckan
# Redis
REDIS_VERSION=6.0.7