Production 환경에서의 DB 자동 Migration 구현

This commit is contained in:
static
2025-01-20 19:15:15 +09:00
parent ce329891ae
commit 803110606b
10 changed files with 58 additions and 23 deletions

View File

@@ -27,6 +27,7 @@ services:
database:
image: postgres:17.2-alpine
restart: on-failure
user: ${CONTAINER_UID:-0}:${CONTAINER_GID:-0}
volumes:
- ./data/database:/var/lib/postgresql/data
environment: