8.5. Configure
Important
All steps in this section must be performed by the root user. If you use sudo to avoid mixing up the commands, we recommend first running sudo -i to get a fully functional root user session.
8.5.1. Change endpoints
Changing endpoints may be required if the the name of the DNS server where the system is deployed changes, or if you change the settings of the reverse proxy. To modify the endpoints edit the file docker-compose.yaml, you can find it in /srv/ngwdocker in the x-shared section. Then restart the stack.
$ cd /srv/ngwdocker
$ nano docker-compose.yaml
$ docker compose up -d
8.5.2. Migrating to another server
Steps:
On the source server, create an offline backup following the Create backup instructions.
On the new server, install NextGIS Web following the Installation instructions.
Important
The version installed on the new server must match the version on the source server. Restoring a backup across different versions is not supported.
Copy the backup file to the new server, for example:
$ scp /var/lib/docker/volumes/ngwdocker_backup/_data/archivist-20260117-002345.tar.zst \
root@new-server:/var/lib/docker/volumes/ngwdocker_backup/_data/
Restore the data from the backup following the Restore from backup instructions.