Use service id in PostgreSQL sample names
This commit is contained in:
parent
827a504bfc
commit
223aaba888
7 changed files with 17 additions and 9 deletions
|
|
@ -14,7 +14,7 @@ The sample binds PostgreSQL to `127.0.0.1:5432` with:
|
|||
- database: `dew`
|
||||
- user: `dew`
|
||||
- password: `dew_dev_password`
|
||||
- data volume: `dew_postgresql_18_data`
|
||||
- data volume: `dew_postgresql-18_data`
|
||||
|
||||
Stop it with:
|
||||
|
||||
|
|
|
|||
|
|
@ -5,12 +5,12 @@ After=network-online.target
|
|||
|
||||
[Container]
|
||||
Image=docker.io/library/postgres:18
|
||||
ContainerName=dew_postgresql_18
|
||||
ContainerName=dew_postgresql-18
|
||||
Environment=POSTGRES_DB=dew
|
||||
Environment=POSTGRES_USER=dew
|
||||
Environment=POSTGRES_PASSWORD=dew_dev_password
|
||||
PublishPort=127.0.0.1:5432:5432
|
||||
Volume=dew_postgresql_18_data:/var/lib/postgresql/data:Z
|
||||
Volume=dew_postgresql-18_data:/var/lib/postgresql/data:Z
|
||||
HealthCmd=pg_isready -U dew -d dew
|
||||
HealthInterval=10s
|
||||
HealthTimeout=5s
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
service:
|
||||
id: postgresql-18
|
||||
name: PostgreSQL 18
|
||||
unit: dew_postgresql_18.service
|
||||
container_name: dew_postgresql_18
|
||||
unit: dew_postgresql-18.service
|
||||
container_name: dew_postgresql-18
|
||||
|
||||
runtime:
|
||||
type: podman-quadlet
|
||||
|
||||
container:
|
||||
file: dew_postgresql_18.container
|
||||
dropins_dir: dew_postgresql_18.container.d
|
||||
profiles_dir: dew_postgresql_18.profiles.d
|
||||
file: dew_postgresql-18.container
|
||||
dropins_dir: dew_postgresql-18.container.d
|
||||
profiles_dir: dew_postgresql-18.profiles.d
|
||||
|
||||
schemas:
|
||||
configure: schemas/configure.schema.json
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"volume": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"default": "dew_postgresql_18_data"
|
||||
"default": "dew_postgresql-18_data"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
8
.project/kanban/done/DEW-0033.md
Normal file
8
.project/kanban/done/DEW-0033.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
id: DEW-0033
|
||||
title: Use hyphenated PostgreSQL sample runtime names
|
||||
type: task
|
||||
created: 2026-05-05T03:40:20.957347Z
|
||||
---
|
||||
|
||||
Rename the PostgreSQL 18 infra sample runtime artifacts so the dew_ prefix is followed by the hyphenated service id postgresql-18.
|
||||
Loading…
Add table
Reference in a new issue