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`
|
- database: `dew`
|
||||||
- user: `dew`
|
- user: `dew`
|
||||||
- password: `dew_dev_password`
|
- password: `dew_dev_password`
|
||||||
- data volume: `dew_postgresql_18_data`
|
- data volume: `dew_postgresql-18_data`
|
||||||
|
|
||||||
Stop it with:
|
Stop it with:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ After=network-online.target
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Image=docker.io/library/postgres:18
|
Image=docker.io/library/postgres:18
|
||||||
ContainerName=dew_postgresql_18
|
ContainerName=dew_postgresql-18
|
||||||
Environment=POSTGRES_DB=dew
|
Environment=POSTGRES_DB=dew
|
||||||
Environment=POSTGRES_USER=dew
|
Environment=POSTGRES_USER=dew
|
||||||
Environment=POSTGRES_PASSWORD=dew_dev_password
|
Environment=POSTGRES_PASSWORD=dew_dev_password
|
||||||
PublishPort=127.0.0.1:5432:5432
|
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
|
HealthCmd=pg_isready -U dew -d dew
|
||||||
HealthInterval=10s
|
HealthInterval=10s
|
||||||
HealthTimeout=5s
|
HealthTimeout=5s
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
service:
|
service:
|
||||||
id: postgresql-18
|
id: postgresql-18
|
||||||
name: PostgreSQL 18
|
name: PostgreSQL 18
|
||||||
unit: dew_postgresql_18.service
|
unit: dew_postgresql-18.service
|
||||||
container_name: dew_postgresql_18
|
container_name: dew_postgresql-18
|
||||||
|
|
||||||
runtime:
|
runtime:
|
||||||
type: podman-quadlet
|
type: podman-quadlet
|
||||||
|
|
||||||
container:
|
container:
|
||||||
file: dew_postgresql_18.container
|
file: dew_postgresql-18.container
|
||||||
dropins_dir: dew_postgresql_18.container.d
|
dropins_dir: dew_postgresql-18.container.d
|
||||||
profiles_dir: dew_postgresql_18.profiles.d
|
profiles_dir: dew_postgresql-18.profiles.d
|
||||||
|
|
||||||
schemas:
|
schemas:
|
||||||
configure: schemas/configure.schema.json
|
configure: schemas/configure.schema.json
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@
|
||||||
"volume": {
|
"volume": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1,
|
"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