refactor: update image naming convention in Justfile and compose.yml

This commit is contained in:
2026-03-08 17:29:42 +07:00
parent 3544e1a271
commit 2c3edb5146
2 changed files with 5 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
services:
postgres:
# run `just build postgres` first
image: database-postgres:latest
image: db-postgres:latest
restart: unless-stopped
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
@@ -10,12 +10,7 @@ services:
ports:
- "${POSTGRES_PORT:-5432}:5432"
volumes:
- postgres_data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
interval: 10s
timeout: 5s
retries: 5
- postgres-data:/var/lib/postgresql
volumes:
postgres_data:
postgres-data: