forked from baron/baron-sso
.env 참조 경로 변경
This commit is contained in:
@@ -150,12 +150,14 @@ jobs:
|
||||
# [중요] 설정 파일 권한 문제 해결 (Ory 이미지는 root가 아닌 사용자로 실행됨)
|
||||
chmod -R 777 docker/ory
|
||||
|
||||
docker compose -f docker/staging_pull_compose.template.yaml pull
|
||||
cp docker/staging_pull_compose.template.yaml staging_pull_compose.yaml
|
||||
|
||||
docker compose -f staging_pull_compose.yaml pull
|
||||
|
||||
# [주의] DB 초기화 스크립트는 '새로운 볼륨'에서만 실행됨.
|
||||
docker compose -f docker/staging_pull_compose.template.yaml down || true
|
||||
docker compose -f staging_pull_compose.yaml down || true
|
||||
|
||||
docker compose -f docker/staging_pull_compose.template.yaml up -d --remove-orphans
|
||||
docker compose -f staging_pull_compose.yaml up -d --remove-orphans
|
||||
|
||||
# 배포 후 상태 확인 (실패 시 로그 출력을 위함)
|
||||
sleep 10
|
||||
|
||||
@@ -186,7 +186,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: baron_backend
|
||||
env_file:
|
||||
- ../.env
|
||||
- .env
|
||||
environment:
|
||||
- APP_ENV=${APP_ENV:-development}
|
||||
- GO_ENV=${APP_ENV:-development}
|
||||
@@ -230,7 +230,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: baron_adminfront
|
||||
env_file:
|
||||
- ../.env
|
||||
- .env
|
||||
environment:
|
||||
- APP_ENV=${APP_ENV:-development}
|
||||
- API_PROXY_TARGET=http://baron_backend:3000
|
||||
@@ -248,7 +248,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: baron_devfront
|
||||
env_file:
|
||||
- ../.env
|
||||
- .env
|
||||
environment:
|
||||
- APP_ENV=${APP_ENV:-development}
|
||||
- API_PROXY_TARGET=http://baron_backend:3000
|
||||
@@ -266,7 +266,7 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: baron_userfront
|
||||
env_file:
|
||||
- ../.env
|
||||
- .env
|
||||
environment:
|
||||
- BACKEND_URL=${BACKEND_URL}
|
||||
- USERFRONT_URL=${USERFRONT_URL}
|
||||
|
||||
Reference in New Issue
Block a user