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

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](https://git.opendatafrance.net/validata/validata-api) and [validata-ui](https://git.opendatafrance.net/validata/validata-ui) documentation for more information about environment variables.
### Deploy a new version
To deploy a new version of Validata:
```bash
ssh root@go-next.validata.fr
cd /etc/docker/compose/validata
docker-compose pull
docker-compose up -d
```
Test that it works. To see the logs:
```bash
docker-compose logs
docker-compose logs -f
```
To delete older images (among other things):
```bash
docker system prune
```
## See also
- https://git.opendatafrance.net/validata/validata-ui
......
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