This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 21
21
name : ckan-postgres
22
22
- image : redis:3
23
23
name : ckan-redis
24
- - image : ckan/solr:latest
25
- name : ckan-solr
26
24
27
25
parallelism : 4
28
26
@@ -38,14 +36,18 @@ jobs:
38
36
apt install -y nodejs
39
37
;;
40
38
esac
41
- apt install -y nodejs postgresql-client
39
+ apt install -y postgresql-client solr-jetty openjdk-8-jdk
42
40
43
41
# Python Dependencies
44
42
pip install -r requirement-setuptools.txt
45
43
pip install -r requirements.txt
46
44
pip install -r dev-requirements.txt
47
45
python setup.py develop
48
46
47
+ # SOLR config
48
+ cp ~/project/ckan/config/solr/schema.xml /etc/solr/conf/schema.xml
49
+ service jetty9 restart || true # erroring out but does seem to work
50
+
49
51
# Database Creation
50
52
psql --host=ckan-postgres --username=ckan --command="CREATE USER ${CKAN_POSTGRES_USER} WITH PASSWORD '${CKAN_POSTGRES_PWD}' NOSUPERUSER NOCREATEDB NOCREATEROLE;"
51
53
createdb --encoding=utf-8 --host=ckan-postgres --username=ckan --owner=${CKAN_POSTGRES_USER} ${CKAN_POSTGRES_DB}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ ckan.redis.url = redis://ckan-redis:6379/1
11
11
12
12
sqlalchemy.url = postgresql://ckan_default:pass@ckan-postgres/ckan_test
13
13
14
- solr_url = http://ckan-solr:8983 /solr/ckan
14
+ solr_url = http://localhost:8080 /solr
15
15
16
16
[loggers]
17
17
keys = root, ckan, sqlalchemy
You can’t perform that action at this time.
0 commit comments