Install CUSTODIA Gateway on Ubuntu
Start Gateway and PostgreSQL with Docker Compose and activate the license in the web interface.
1. About the application
To receive the installation scripts package and get access to download the Docker images, contact contato@custodia-systems.com.br.
2. Prerequisites
- Prepare an Ubuntu host with sudo, access to the Docker registry and licensing service, and an architecture compatible with the supplied image.
- Have the commercial GATEWAY license and matching operational identity. Run the installer as a user authorized to access Docker and use sudo.
3. Installation
Extract the package to a restricted directory and open the folder containing install.sh and compose.yaml. Set up Docker Engine, Compose, and dependencies with the packaged script.
sudo bash install-docker.shConfigure and start the containers
Check CUSTODIA_GATEWAY_IMAGE, CUSTODIA_LICENSE_URL, and CUSTODIA_GATEWAY_ALLOWED_KIDS in .env. Verify that secrets/gateway-private.pem and secrets/gateway-certificate.jwt are present. For a new database, POSTGRES_PASSWORD=GERAR_NA_INSTALACAO triggers password generation. Keep the current password for an existing database.
bash install.sh
If the installer prompts for registry login, use the account with download permissions supplied by Custodia Systems in the terminal.
5. First use
The installer waits up to 300 seconds for health checks. With default settings, open http://localhost:19090/ on the host. To access it from your computer while keeping the port local, use the SSH tunnel below and open the same address in your browser.
ssh -L 19090:127.0.0.1:19090 usuario@IP_DO_SERVIDOR
Activate the GATEWAY license in the web interface. Then open /admin/login.xhtml, sign in with the initial admin account, and change its password before making the service accessible. Include the context path in URLs if configured.
6. Next steps
Use bash status.sh and bash logs.sh to monitor the service. To update, check the tag in CUSTODIA_GATEWAY_IMAGE and run bash update.sh. Preserve COMPOSE_PROJECT_NAME and the volumes. Use bash backup.sh /destination/gateway.dump for PostgreSQL and back up configuration and identity separately.