-
Notifications
You must be signed in to change notification settings - Fork 38
/
docker-compose.yml
43 lines (43 loc) · 1.46 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3.9"
services:
ckan:
image: "openknowledge/ckan-base:${CKAN_VERSION}"
container_name: ckan
environment:
- CKAN_SITE_URL=http://ckan:5000
- CKAN_SQLALCHEMY_URL=postgresql://ckan_default:pass@postgres/ckan_test
- CKAN_DATASTORE_WRITE_URL=postgresql://datastore_write:pass@postgres/datastore_test
- CKAN_DATASTORE_READ_URL=postgresql://datastore_read:pass@postgres/datastore_test
- CKAN_SOLR_URL=http://solr:8983/solr/ckan
- CKAN_REDIS_URL=redis://redis:6379/1
- CKAN_DATAPUSHER_URL=http://datapusher:8000
- CKAN__DATAPUSHER__CALLBACK_URL_BASE=http://ckan:5000
- TZ=UTC
- CKAN_SYSADMIN_NAME=ckan_admin
- CKAN_SYSADMIN_PASSWORD=test1234
- CKAN_SYSADMIN_EMAIL=mail@example.com
- CKAN___BEAKER__SESSION__SECRET=secret
ports:
- "5000:5000"
postgres:
image: "ckan/ckan-postgres-dev:${CKAN_VERSION}"
container_name: postgres
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
datapusher:
image: ghcr.io/keitaroinc/datapusher:0.0.17
container_name: datapusher
environment:
- DATAPUSHER_MAX_CONTENT_LENGTH=10485760
- DATAPUSHER_CHUNK_SIZE=16384
- DATAPUSHER_CHUNK_INSERT_ROWS=250
- DATAPUSHER_DOWNLOAD_TIMEOUT=30
- DATAPUSHER_SSL_VERIFY=False
solr:
image: "ckan/ckan-solr:${CKAN_VERSION}"
container_name: solr
redis:
image: "redis:5.0.14"
container_name: redis