Files
studio-auth-be/docker-compose.yml
2026-07-01 17:36:34 +09:00

39 lines
930 B
YAML

services:
postgres:
image: postgres:17-alpine
container_name: atnmy-stdo-auth-postgres
command: postgres -c timezone=Asia/Seoul
environment:
POSTGRES_DB: atnmy_auth
POSTGRES_USER: atnmy_auth
POSTGRES_PASSWORD: future1234!@
ports:
- "5434:5432"
volumes:
- atnmy-auth-postgres-17:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U atnmy_auth -d atnmy_auth"]
interval: 5s
timeout: 3s
retries: 20
redis:
image: redis:7-alpine
container_name: atnmy-stdo-auth-redis
command: ["redis-server", "--appendonly", "yes"]
ports:
- "6380:6379"
volumes:
- atnmy-auth-redis:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 20
volumes:
atnmy-auth-postgres-17:
atnmy-auth-redis: