Skip to content

Docker container for starting a pre-configured couchdb for sofia

Notifications You must be signed in to change notification settings

adentes-org/sofia-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SOFIA Database :

Use docker-compose to fired up the DB

Setup

git clone https://github.com/adentes-org/sofia-db.git && cd sofia-db
#Edit docker-compose.yml to reflect your settings (For exemple your hostname)

Start (with caddy for SSL termination)

docker-compose up -d
#The first run can take time since it "compile" the sofia app to make it avaible in the db
#Be aware that your ssl certificate auto-generated by caddy/letsencryt is located under caddy/data so be sure to keep it safe and backup 

Start only db

docker-compose up -d couchdb

Update admin app on running DB

(to be executed in the updated couchdb folder)

export HOST=https://username:userpass@my.db.host
./scripts/install-admin-app.sh $HOST sofia-admin

NB: docker-compose install https://www.google.fr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0ahUKEwiSwazumdLLAhXD0hoKHU8NCJAQFggsMAE&url=https%3A%2F%2Fdocs.docker.com%2Fcompose%2Finstall%2F&usg=AFQjCNHYRp2Dlli1ZbdYel8gXaVdYwgwUw

If you need any dns name : http://nip.io/

About

Docker container for starting a pre-configured couchdb for sofia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages