OPNexusdocs

Second instance on the same machine

Put the Compose file in its own directory, with its own .env. An own project name is important (COMPOSE_PROJECT_NAME=opnexus2): the Compose file fixes the project name to opnexus, and without an own name the second folder shares containers and volumes with the first. In addition: a different POSTGRES_PASSWORD and ADMIN_PASSWORD, different PROXY_HTTPS_PORT (e.g. 8443), PROXY_HTTP_PORT, BACKEND_PORT, FRONTEND_PORT and a matching FRONTEND_ORIGIN. Browsers do not separate cookies by port: open two instances under the same IP in separate profiles or windows.