enowars / bambictf

Ansible/Packer/Terraform setup for our Bambi CTF on Hetzner Cloud
MIT License
13 stars 3 forks source link

automatically overwrite checker configuration #29

Open DanielHabenicht opened 3 years ago

DanielHabenicht commented 3 years ago

For Bootstrapping the checkers they should automatically be set the

.env COMPOSE_PROJECT_NAME and put the restart: always policy in the checker docker-compose file

domenukk commented 3 years ago

I'd go with restart: unless-stopped, else they get really hard to kill :D

Trolldemorted commented 3 years ago

With the experience of restarting containers which almost kill VMs, I'd recommend to use no restart behaviour.

Checkers crash very rarely, and if they do I'd rather know about it with big and loud errors instead of silent restarts.