With docker¶
Using the git repo¶
- Go to your cyberbro directory (e.g.
/opt/cyberbro). docker compose down(optional)git pulldocker compose up --build --force-recreate -d
Warning
Be careful that your secrets.json / .env is up to date.
Using the image from GitHub packages¶
Info
Assuming you already have a valid custom docker compose file using the image ghcr.io/stanfrbd/cyberbro:latest
- Go to your cyberbro directory (e.g.
/opt/cyberbro) where your customdocker composefile is located.
docker compose down # optional
docker-compose up -d --pull always --force-recreate
Warning
Be careful that your environment variables / .env and your custom docker compose file are up to date.
Without docker¶
- Go to your cyberbro directory (e.g.
/opt/cyberbro). git pullpip install -r requirements.txtrm data/version_cache.jsongunicorn -b 0.0.0.0:5000 app:app --timeout 120(or usingsupervisord.conf)
Warning
Be careful that your secrets.json is up to date