init studio auth backend
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user