Giter Club home page Giter Club logo

dokku-couchdb's Issues

SSL for this CouchDB plugin

First (and foremost!), thank you for building this plugin! ๐Ÿ˜บ

Second, I'm working to add HTTPS/SSL access to my installation of this plugin, and there seem to be two options:

  1. add the certs to this plugin's container post installation
  2. create an nginx reverse proxy app in front of this, and setup SSL in that layer

My use case is having multiple domains (currently via CouchDB's vhosts setup) mapped to a specific database within this container. The same could be possible via the nginx reverse proxy stuff, but I'm newer to nginx than CouchDB.

Ideally, I'd wrap all the fiddly bits in a bash script or something that would add the domain, create a letsencrypt cert, and install it in either of these containers (or somewhere else per dokku magic).

I'm still digging for answers, but if this is a thing this plugin could easily support (or assist with), that'd be super fabulous. ๐Ÿ˜ธ

Much thanks!
๐ŸŽฉ

What is link

Hi,

I'm confused of what does link means?

Do link to an app means I have to make a nodejs app for example or use pouchdb to use couchdb and there I could use the couchdb outside the box via pouchdb or my custom rest api?

Or does an app created in dokku directly expose the
couchdb created, that is, without any mapping envolved.

That is if i create ouch for couchdb and link to an app db_couch
Can I access to dbcouch.mydomain.com directly?

Thanks and Good Day Man!

How to update configuration

Hi, sorry if this is the wrong medium to ask, but what is the recommended way to update configuration settings? The CouchDB guide describes updating the local.ini, but that seems at odds with the way dokku works, since entering the service doesn't persist file system changes to disk.

I also tried updating via the HTTP API, but the setting I want to change (daemons/compaction_daemon) is blacklisted for change via the API.

Using a different docker volume after running dokku couchdb:upgrade <app> ?

I'm sure this probably isn't the right place to post this, but I'm a kind of desperate for help at this point.

I tried to upgrade my dokku couchdb instance from 2.3.1 to 3.2.1 using dokku couchdb:upgrade. I'm not sure what happened, but the couchdb service became unreachable. I tried checking the logs with dokku couchdb:logs which said it couldn't find the _users directory. At this point I tried to downgrade back to 2.3.1 with dokku couchdb:upgrade --image-version 2.3.1, but now service runs, but all of the databases are gone.

At this point I tried looking for the data and was able to find it on a docker volume, but it seems the couchdb service is now using a different volume and I'm not sure how to go back to using the original volume, or how to restore. Any help would be much appreciated.

Exposing as HTTPS

Hi Good Day Man!

The default is exposing as http. But, how could you expose it as https? Is it possible?

Thanks

(Remotely) exposing the port fails

I want to remotely access the couchdb container

$ ssh [email protected] couchdb:expose api
## !     Service is already started
docker: Error response from daemon: failed to create endpoint dokku.couchdb.api.ambassador on network bridge: iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 2409 -j DNAT --to-destination 172.17.0.3:5984 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1).

@josegonzalez Is this know? Did I something wrong? If I run this on the server the command exits just fine, but the port is not available on the servers IP. :(

wget not available to import/export

Dokku version: 0.12.12

Running dokku couchdb:import [service] < filename and dokku couchdb:export [service] > filename both produce the error:

bash: wget: command not found
bash: couchdb-backup: command not found

How can I fix that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.