Created
July 5, 2026 07:56
-
-
Save nunix/beb4abbade5d2cf45d2dcf6dcc655cce to your computer and use it in GitHub Desktop.
Podman Quadlet unit — command center prod service (Nunix Universe Imperium fleet)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=fleet-v3 command center (prod) | |
| [Container] | |
| Image=localhost/fleet-v3:prod | |
| ContainerName=fleet-v3 | |
| AutoUpdate=registry | |
| Environment=DATABASE_URL=postgresql://[DB_USER]:[DB_PASSWORD]@[DB_HOST]/[DB_NAME]?sslmode=disable | |
| # Network=host: container shares host network namespace so loopback-mapped hostname | |
| # imperator.fleet.local (→127.0.0.1 in /etc/hosts) correctly resolves to host's Postgres. | |
| # Bridge networks have their own loopback; 127.0.0.1 would point at container itself, not host. | |
| Network=host | |
| [Service] | |
| Restart=always | |
| [Install] | |
| WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment