Skip to content

Commit ca93657

Browse files
committed
chore: remove version num from postgres container name
1 parent ebea36c commit ca93657

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ CS_CLIENT_KEY = "your-client-key"
123123
- `5617` - PostgreSQL 17 (TLS)
124124
- `6432` - CipherStash Proxy
125125

126-
Container names: `postgres`, `postgres-17-tls`, `proxy`, `proxy-tls`
126+
Container names: `postgres`, `postgres-tls`, `proxy`, `proxy-tls`
127127

128128
### Logging Configuration
129129
Set granular log levels by target:

DEVELOPMENT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ mise run postgres:up
175175
176176
# Start postgres instances individually in the foreground
177177
mise run postgres:up postgres
178-
mise run postgres:up postgres-17-tls
178+
mise run postgres:up postgres-tls
179179
180180
# Start a postgres instance in the background
181181
mise run postgres:up postgres --extra-args "--detach --wait"
@@ -463,7 +463,7 @@ These are the Postgres instances and names currently provided:
463463

464464
| Name | Description |
465465
|-------------------|--------------------------------|
466-
| `postgres-17-tls` | TLS, PostgreSQL version 17 |
466+
| `postgres-tls` | TLS, (PostgreSQL version 17) |
467467
| `postgres` | non-TLS, Postgres latest |
468468

469469

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ description = "Run Postgres instances with docker compose"
477477
run = """
478478
set -e
479479
# Start the containers
480-
echo docker compose up --build {{arg(name="service",default="postgres postgres-17-tls")}} {{option(name="extra-args",default="")}} | bash
480+
echo docker compose up --build {{arg(name="service",default="postgres postgres-tls")}} {{option(name="extra-args",default="")}} | bash
481481
"""
482482

483483
[tasks."postgres:psql"]

tests/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ services:
3030
timeout: 5s
3131
retries: 10
3232

33-
postgres-17-tls:
33+
postgres-tls:
3434
<<: *postgres
3535
image: postgres:${PG_VERSION:-17}
36-
container_name: postgres-17-tls
36+
container_name: postgres-tls
3737
environment:
3838
PGPORT: 5617
3939
ports:

tests/mise.tls.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[env]
2-
CS_DATABASE__HOST = "postgres-17-tls"
3-
CONTAINER_SUFFIX = "-17-tls"
2+
CS_DATABASE__HOST = "postgres-tls"
3+
CONTAINER_SUFFIX = "-tls"
44
CS_DATABASE__PORT = "5617"
55
CS_TLS__TYPE = "Path"
66
CS_TLS__CERTIFICATE_PATH = "/etc/cipherstash-proxy/server.cert"

0 commit comments

Comments
 (0)