Commit 4ecb14ab authored by Christophe Benz's avatar Christophe Benz
Browse files

Add section about deploy new version

parent 0b21fd55
......@@ -39,6 +39,30 @@ ansible-playbook --inventory scaleway_inventory.yml --limit validata-next --user
Then copy [api.secrets.env.template](./production/api.secrets.env.template) and [ui.secrets.env.template](./production/ui.secrets.env.template) to `/etc/docker/compose/validata` on server (removing the `.template` extension), and fill-in the values. Read [validata-api]( and [validata-ui]( documentation for more information about environment variables.
### Deploy a new version
To deploy a new version of Validata:
cd /etc/docker/compose/validata
docker-compose pull
docker-compose up -d
Test that it works. To see the logs:
docker-compose logs
docker-compose logs -f
To delete older images (among other things):
docker system prune
## See also
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment