Skip to content
Snippets Groups Projects
Commit 2181d210 authored by Sam Galson's avatar Sam Galson
Browse files

use http within the cluster

parent 3f1a3db9
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,8 @@ data: ...@@ -9,8 +9,8 @@ data:
createdb.sh: | # NB envsubst cannot escape env vars createdb.sh: | # NB envsubst cannot escape env vars
# initialise couch if it is the first deployment # initialise couch if it is the first deployment
curl -X PUT https://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb-${CI_ENVIRONMENT_SLUG}:5984/_users curl -X PUT http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb-${CI_ENVIRONMENT_SLUG}:5984/_users
curl -X PUT https://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb-${CI_ENVIRONMENT_SLUG}:5984/_replicator curl -X PUT http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb-${CI_ENVIRONMENT_SLUG}:5984/_replicator
if [[ -n "$(printenv FORCE_FRESH_DB)" ]]; then if [[ -n "$(printenv FORCE_FRESH_DB)" ]]; then
npx pubsweet setupdb --username=cokouser --password=cokopassword --email=cokouser@example.com --clobber npx pubsweet setupdb --username=cokouser --password=cokopassword --email=cokouser@example.com --clobber
......
...@@ -12,7 +12,7 @@ data: ...@@ -12,7 +12,7 @@ data:
}, },
"pubsweet-server": { "pubsweet-server": {
"secret": "${PUBSWEET_SERVER_SECRET}", "secret": "${PUBSWEET_SERVER_SECRET}",
"dbPath": "https://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb-${CI_ENVIRONMENT_SLUG}/pubsweet" "dbPath": "http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb-${CI_ENVIRONMENT_SLUG}/pubsweet"
}, },
"password-reset": { "password-reset": {
"url": "${CI_ENVIRONMENT_URL}/password-reset" "url": "${CI_ENVIRONMENT_URL}/password-reset"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment