|emile 508351773a||8 months ago|
|.env||8 months ago|
|.gitignore||9 months ago|
|README.md||8 months ago|
|docker-compose.yml||8 months ago|
|grafana.ini||9 months ago|
|prometheus.yml||9 months ago|
|setup.sh||8 months ago|
|traefik_users||9 months ago|
docker-compose that can be used to start a circus (note: a digital one...)
You can setup the whole stack manually or using the
semi-automatic. If you want to setup the circus automatically, simply execute
setup.sh, but if you want to do it by hand, read on...
The complete setup process should take no longer than 5 minutes.
Create some docker networks:
$ docker network create circus $ docker network create circus_db
These will contain the various services and make sure some services can and some services can’t communiate with each other.
First of all, you should define where the CTF should run and what it should be
called. To do so, fill the
.env file with the corresponding information:
Traefik requires the credentials as a
user:pass combination, the password is
To create a traefik basicauth user, execute
$ htpasswd -nb user password with
your username and password and append the result to the
Define the grafana location in the
Pull the companion and the vpn container:
$ docker login registry.darknebu.la $ docker pull registry.darknebu.la/circus/companion:latest $ docker pull registry.darknebu.la/circus/vpn:latest
This has to be done, else the registration container will want to create and run a companion image, but there won’t be one there locally.
Finally, start the stack:
$ docker-compose up -d