1
0
Fork 0
mirror of synced 2024-06-14 16:35:02 +12:00

Set the CouchDB credentials in a safer way inside of runner.sh.

This commit is contained in:
Sam Rose 2024-01-08 10:07:14 +00:00
parent 47d973c75a
commit 010ddc2c34
No known key found for this signature in database

View file

@ -76,6 +76,6 @@ done
# CouchDB needs the `_users` and `_replicator` databases to exist before it will
# function correctly, so we create them here.
curl -X PUT http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@localhost:5984/_users
curl -X PUT http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@localhost:5984/_replicator
curl -X PUT -u "${COUCHDB_USER}:${COUCHDB_PASSWORD}" http://localhost:5984/_users
curl -X PUT -u "${COUCHDB_USER}:${COUCHDB_PASSWORD}" http://localhost:5984/_replicator
sleep infinity