5. Upgrade Cyberbro - stanfrbd/cyberbro GitHub Wiki
With docker
git
repo
Using the - Go to your cyberbro directory (e.g.
/opt/cyberbro
). docker compose down
(optional)git pull
docker compose up --build --force-recreate -d
[!WARNING] Be careful that your
secrets.json
is up to date.
Using the image from GitHub packages
[!IMPORTANT] 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 compose
file is located.
docker compose down # optional
docker-compose up -d --pull always --force-recreate
[!WARNING] Be careful that your environment variables and your custom
docker compose
file are up to date.
Without docker
- Go to your cyberbro directory (e.g.
/opt/cyberbro
). git pull
pip install -r requirements.txt
rm data/version_cache.json
gunicorn -b 0.0.0.0:5000 app:app --timeout 120
(or usingsupervisord.conf
)
[!WARNING] Be careful that your
secrets.json
is up to date