forked from inveniosoftware/invenio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.inveniorc
executable file
·27 lines (24 loc) · 1.03 KB
/
.inveniorc
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
#!/usr/bin/env bash
# Kickstart Invenio 3 demo instance.
# sphinxdoc-kickstart-configuration-variables-begin
export INVENIO_WEB_HOST=192.168.50.10
export INVENIO_WEB_INSTANCE=invenio3
export INVENIO_WEB_VENV=invenio3
export [email protected]
export INVENIO_USER_PASS=uspass123
export INVENIO_POSTGRESQL_HOST=192.168.50.11
export INVENIO_POSTGRESQL_DBNAME=invenio3
export INVENIO_POSTGRESQL_DBUSER=invenio3
export INVENIO_POSTGRESQL_DBPASS=dbpass123
export INVENIO_REDIS_HOST=192.168.50.12
export INVENIO_ELASTICSEARCH_HOST=192.168.50.13
export INVENIO_RABBITMQ_HOST=192.168.50.14
export INVENIO_WORKER_HOST=192.168.50.15
# sphinxdoc-kickstart-configuration-variables-end
# Now you can use kickstart scripts, for example:
#
# vagrant up
# vagrant ssh web -c 'source .inveniorc && /vagrant/scripts/create-instance.sh'
# vagrant ssh web -c 'source .inveniorc && nohup /vagrant/scripts/start-instance.sh'
# vagrant ssh web -c 'source .inveniorc && /vagrant/scripts/populate-instance.sh'
# firefox http://192.168.50.10/records/1