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
docker
anddocker-compose
andpwgen
.pwgen
will be used bysecrets/secrets.sh
which is called bywithCompose.sh
to generate database passwords. - Clone this repository
- Issue
git submodule init
andgit submodule update --recursive
to have all repository data checked out correctly. - Use the
pull.sh
andbuild.sh
scripts to ensure containers are available and up to date. - Use
./withCompose.sh up -d postgres
to let thelingdb_postgres
service run in the background. - Use
./withCompose.sh up cobl_debug
to let theCoBL
service 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_debug
For information about necessary files and container specific configuration please see the following container specific pages: