Several Docker containers for parts of the lingdb projects.
Aims to help with staging and deployment of some lingdb projects.
As described in soundcomparisons #217, it became apparant that a container solution would be useful for our project.
If you're running linux you don't require the Vagrant setup, but can instead start with Docker directly. To do so these steps are necessary:
- Install docker
- Clone this repository
- Provide necessary files
- Read the wiki entries for the wanted containers
- Inspect and execute
build.sh - Inspect and execute
run.sh - Perform additional steps as necessary
To run a CoBL instance without a database dump and without the nginx and sndcomp dependencies on the side:
- Install
dockeranddocker-composeandpwgen.pwgenwill be used bysecrets/secrets.shwhich is called bywithCompose.shto generate database passwords. - Clone this repository
- Issue
git submodule initandgit submodule update --recursiveto have all repository data checked out correctly. - Use the
pull.shandbuild.shscripts to ensure containers are available and up to date. - Use
./withCompose.sh up -d postgresto let thelingdb_postgresservice run in the background. - Use
./withCompose.sh up cobl_debugto let theCoBLservice run in a terminal. This will go trough some phases of setting up the database before the service will finally start up. Once service startup is completed CoBL will be available on the host at0.0.0.0:80.
It is possible to rebuild the lingdb/cobl and lingdb/cobl_debug containers dedicated:
./withCompose build cobl
./withCompose build cobl_debugFor information about necessary files and container specific configuration please see the following container specific pages: