24 lines
696 B
YAML
24 lines
696 B
YAML
services:
|
|
postgres:
|
|
image: postgres:17-alpine
|
|
container_name: autonomy-studio-launcher-postgres
|
|
command: postgres -c timezone=Asia/Seoul
|
|
environment:
|
|
POSTGRES_DB: ${POSTGRES_DB:-launcher}
|
|
POSTGRES_USER: ${POSTGRES_USER:-launcher}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-future1234!@}
|
|
ports:
|
|
- "${POSTGRES_PORT:-5435}:5432"
|
|
volumes:
|
|
- launcher_postgres_data:/var/lib/postgresql/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-launcher} -d ${POSTGRES_DB:-launcher}"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
launcher_postgres_data:
|