dasch-swiss / dsp-api

DaSCH Service Platform API
http://admin.dasch.swiss
Apache License 2.0
73 stars 18 forks source link

Simplify Hosting Configuration #251

Open tobiasschweizer opened 7 years ago

tobiasschweizer commented 7 years ago

When setting up Knora on a server that has an own domain (non localhost), a bunch of (partially redundant) modifications has to be made. Some of them are URLs with or without the port, some of them are just a domain name (without http:// or port):

Can we simplify that and make it more consistent?

loicjaouen commented 7 years ago

here are a handful of suggestions of how to avoid direct configuration file editing without using puppet or another configuration management system.

delegate config to docker command line

by mapping directories to mount points in the docker instance, and proxying local ports to hosted ports in the docker instance.

proxy web services

As it is all web-services, they are easy to proxy.

if you have to edit, edit once

heart of a release process:

git stash
git pull
git stash apply

reality

I described earlier the set-up we use here, in a now non-readable form (because I didn't use plain text mail): https://www.maillist.unibas.ch/pipermail/knora-user/2016-July/000079.html

it is a mix of apache web-proxy and git-stash for release (but we plan on using docker).

set-up-knora