From 94f35fc857d323bfc56809722393d208dc6e7ea7 Mon Sep 17 00:00:00 2001 From: jody Date: Sun, 9 Mar 2025 19:41:13 -0400 Subject: [PATCH] Delete create-couch-cont.sh couchdb no longer needed. --- create-couch-cont.sh | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 create-couch-cont.sh diff --git a/create-couch-cont.sh b/create-couch-cont.sh deleted file mode 100755 index 109a634..0000000 --- a/create-couch-cont.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# bind port 5984 to localhost in order to be able to ssh tunnel into couchdb futon admin web interface. -docker run -d --name couchdb --restart=always -v /data/couchdb:/usr/local/var/lib/couchdb -p 127.0.0.1:5984:5984 klaemo/couchdb:1.6.1-couchperuser - -# Sleep for 1sec to let couchdb container start up -sleep 1 - -docker run -it --rm --link couchdb:couchdb yxdhde/alpine-curl-git curl -X PUT couchdb:5984/_config/admins/admin -d '"secret"' - -docker run -it --rm --link couchdb:couchdb yxdhde/alpine-curl-git curl -X POST -H 'Content-Type: application/x-www-form-urlencoded' couchdb:5984/_session -d 'name=admin&password=secret'