OPNexusdocs

Database names

New installations create database and user as opnexus (the names are set by POSTGRES_DB and POSTGRES_USER, only on the very first start of an empty volume). An older installation with different names enters them unchanged in the .env, then everything runs as before (check with docker compose exec postgres psql -U <user> -l). Renaming: stop the services except postgres, run ALTER DATABASE <old> RENAME TO opnexus; and ALTER ROLE <old> RENAME TO opnexus; via psql -U <user> -d postgres, set or remove POSTGRES_DB and POSTGRES_USER to opnexus and restart. Back up beforehand with opnexus backup.