You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be performed by a cron job, but in the event of needing to do it manually,
run python3 deploy_tool.py <SITE_NAME> renew_certs
Arbitrary docker compose commands
The docker-compose.yaml configuration requires a number of environment variables to be set before it can be used. To
avoid the need to set these variables yourself (apart from WG_DB_PASSWORD and RW_ROOT_DB_PASSWORD), use
python3 deploy_tool.py <SITE_NAME> dc "<YOUR COMMAND>". For instance, python3 deploy_tool.py dev dc "up -d".
Updating webserver
To deploy changes to the webserver Dockerfile: python3 deploy_tool.py redeploy webserver
OR, manually:
Build the Dockerfile (docker image build -t ropewiki/webserver . from the root of this repo)
Kill and remove the webserver (python3 deploy_tool.py <SITE_NAME> dc "rm -f -s -v ropewiki_webserver")
Restore the full deployment (python3 deploy_tool.py <SITE_NAME> start_site)