Skip to main content

Running your own server

Installation

To add an insecure docker registry, add the file /etc/docker/daemon.json with the following content:

{
"insecure-registries" : ["localhost:5001"],
}

and then restart docker sudo systemctl restart docker.

Now bring up all code-tank services.

docker compose up -d

Development

There are helper scripts to build this code from source in the directory code-tanks/scripts/dev/

Example:

./scripts/dev/build/server.sh

The deploy the newly built container with:

docker compose up -d

For resetting the database:

./scripts/dev/reset_db.sh