Comments (9)
What I found so far is, when ssh'ing into the Dokku host, the COUCHDB_IMAGE
and COUCHDB_IMAGE_VERSION
environment variables are being respected.
But this doesn't work with an alias for dokku on a remote client like alias dokku='ssh -t [email protected]'
.
Thus I managed to create a CouchDB image from my almereyda/geocouch
, but there doesn't seem to be integration of credentials management. It is successfully connected to the desired applications container and running as admin party.
Due to that error, the expected database is also not being created, as the plugin assumes to use nonworking credentials.
from dokku-couchdb.
The logic from
- https://github.com/frodenas/docker-couchdb/blob/master/scripts/first_run.sh#L10-L18
- https://github.com/frodenas/docker-couchdb/blob/master/scripts/first_run.sh#L23-L29
should therefore be migrated into a fork of
adapted to
- the host mounted data volume respecting the location of the filesystem database storage within the soon-to-be-official
couchdb
image - followed by
frodenas
'curl
commands
and https://github.com/dokku/dokku-couchdb/blob/master/config#L2-L3
- pointing to
couchdb:1.6.1
.
from dokku-couchdb.
@almereyda Do you mind creating a PR with this functionality?
from dokku-couchdb.
No, I am actually keen on it. But for that we need to adapt @klaemo's
images to accept environment variables containing admin credentials and
further configuration options.
On 19 April 2016 at 17:55, Jose Diaz-Gonzalez [email protected]
wrote:
@almereyda https://github.com/almereyda Do you mind creating a PR with
this functionality?—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#5 (comment)
from dokku-couchdb.
Feel free to take a crack at it.
from dokku-couchdb.
I've a PR open to allow config via env vars. Is that what your looking for? It it's okay, I'll merge it and kick off an image update.
from dokku-couchdb.
As the PR mentioned above has been merged, it seems more easy to update this repository here. I may have time to check this out next week.
from dokku-couchdb.
yep, the official image now supports env vars https://hub.docker.com/_/couchdb/
from dokku-couchdb.
Closing as no one is interested in working on this. Feel free to submit a PR if you are :)
from dokku-couchdb.
Related Issues (11)
- Empty value for COUCHDB_PASSWORD in container
- Support couchdb 2 HOT 1
- SSL for this CouchDB plugin HOT 1
- Update to CouchDB 1.7.1 HOT 6
- wget not available to import/export HOT 7
- What is link HOT 1
- Exposing as HTTPS HOT 1
- How to update configuration HOT 3
- Using a different docker volume after running dokku couchdb:upgrade <app> ? HOT 4
- (Remotely) exposing the port fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku-couchdb.