사진 모집 서버 종료

This commit is contained in:
DESKTOP-KSVGT20\shkim
2026-06-05 12:52:24 +09:00
parent 14f7f33023
commit 58f16c1dd6
3 changed files with 4 additions and 15 deletions
+1 -12
View File
@@ -2,17 +2,6 @@
set -eu
APP_DIR="$(cd "$(dirname "$0")" && pwd)"
UPLOAD_DIR="/volume2/AKA Drive/사진 받기"
/usr/local/bin/docker rm -f photoreq >/dev/null 2>&1 || true
/usr/local/bin/docker run -d \
--name photoreq \
--restart unless-stopped \
-p 18082:8080 \
--env-file "$APP_DIR/.env" \
-e PUBLIC_BASE_URL="https://photoreq.mokaya.org" \
-e ADMIN_ALLOWED_IPS="${ADMIN_ALLOWED_IPS:-112.159.64.27,162.12.184.41,192.168.219.100,192.168.219.1}" \
-e MAX_FIELDS_SIZE_MB="2" \
-v "$APP_DIR/data:/data" \
-v "$UPLOAD_DIR:/uploads" \
photoreq:latest
echo "photoreq is closed; container removed from $APP_DIR"