NAS Docker 앱 배포 환경 변수 경고 수정

This commit is contained in:
2026-08-13 15:00:21 +09:00
parent 93eb5dd96d
commit f3170f3908
5 changed files with 13 additions and 8 deletions

View File

@@ -21,10 +21,6 @@ services:
container_name: sori-studio-db
env_file:
- ${ENV_FILE:-.env.production}
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
- "${DB_BIND_ADDRESS:-127.0.0.1}:${DB_PORT:-43081}:5432"
volumes:

View File

@@ -179,9 +179,13 @@ cp .env.example .env.production
# Docker 네트워크 대역이 NAS 기존 컨테이너와 겹치면 DOCKER_SUBNET을 다른 사설 대역으로 변경
# Docker 내부 앱에서 PostgreSQL에 접근할 때는 sori-studio-db:5432 사용
# Docker 빌드 및 실행
# Docker CLI 빌드 및 실행
docker compose --env-file .env.production up -d --build
# UGREEN NAS Docker 앱처럼 --env-file 옵션을 넣기 어려운 GUI 배포에서는
# docker-compose.yml과 .env.production을 같은 프로젝트 위치에 두고 Compose 빌드를 실행한다.
# 앱과 DB 컨테이너는 env_file 설정으로 .env.production을 직접 읽는다.
# 운영 DB 마이그레이션 상태 확인
sh scripts/migrate-production-db.sh status

View File

@@ -1,5 +1,10 @@
# 업데이트 이력
## v1.12.12
- UGREEN NAS Docker 앱 배포에서 `--env-file` 없이 Compose를 실행해도 PostgreSQL 환경 변수 치환 경고가 뜨지 않도록 DB 서비스 중복 환경 변수 선언 제거.
- NAS Docker 앱 GUI 배포 시 `.env.production` 배치 기준 문서화.
## v1.12.11
- CSP Report-Only 차단 출처 정규화에서 빈 값과 특수 scheme을 `unknown`과 분리.

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "sori.studio",
"version": "1.12.11",
"version": "1.12.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "sori.studio",
"version": "1.12.11",
"version": "1.12.12",
"hasInstallScript": true,
"dependencies": {
"@nuxtjs/tailwindcss": "^6.14.0",

View File

@@ -1,6 +1,6 @@
{
"name": "sori.studio",
"version": "1.12.11",
"version": "1.12.12",
"private": true,
"type": "module",
"imports": {