add podman systemd files for database
This commit is contained in:
parent
f181cd388a
commit
742388c3ca
6 changed files with 44 additions and 2 deletions
|
|
@ -0,0 +1,4 @@
|
|||
[Pod]
|
||||
PodName=databases
|
||||
PublishPort=9090:3000
|
||||
PublishPort=5432:5432
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
[Container]
|
||||
Image=docker.io/dbgate/dbgate
|
||||
AutoUpdate=registry
|
||||
Pod=dev-databases.pod
|
||||
Environment=CONNECTIONS=POSTGRES
|
||||
Environment=LABEL_POSTGRES="Localhost Postgres"
|
||||
Environment=ENGINE_POSTGRES=postgres@dbgate-plugin-postgres
|
||||
Environment=SERVER_POSTGRES=localhost
|
||||
Environment=PORT_POSTGRES=5432
|
||||
Environment=USER_POSTGRES=postgres
|
||||
Environment=PASSWORD_POSTGRES=1234
|
||||
|
||||
[Service]
|
||||
ExecStartPost=/usr/bin/xdg-open http://localhost:9090
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
[Container]
|
||||
Image=docker.io/postgres:17
|
||||
AutoUpdate=registry
|
||||
Environment=POSTGRES_USER=postgres
|
||||
Environment=POSTGRES_PASSWORD=1234
|
||||
Pod=dev-databases.pod
|
||||
Volume=dev-postgres-data:/var/lib/postgresql/data
|
||||
Loading…
Add table
Add a link
Reference in a new issue