Files move to <NEXTCLOUD_DIR>/<domain>/<type>.zip; packs.json is {domain: {type: meta}}.
Only resourcepack shows the server.properties snippet; datapack/modpack show the URL.
modpack skips the pack.mcmeta check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
services:
|
|
proxy:
|
|
build: ./proxy
|
|
container_name: mc-filter-proxy
|
|
ports:
|
|
- "25565:25565"
|
|
volumes:
|
|
- ./data:/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- mc-filter
|
|
|
|
api:
|
|
build: ./api
|
|
container_name: mc-filter-api
|
|
expose:
|
|
- "8000"
|
|
environment:
|
|
# 팩 저장소 (share.tkrmagid.kr). 비밀번호는 같은 폴더의 .env 에 둔다.
|
|
NEXTCLOUD_URL: ${NEXTCLOUD_URL:-http://192.168.10.10:8080}
|
|
NEXTCLOUD_USER: ${NEXTCLOUD_USER:-}
|
|
NEXTCLOUD_PASSWORD: ${NEXTCLOUD_PASSWORD:-}
|
|
NEXTCLOUD_DIR: ${NEXTCLOUD_DIR:-/claude/mc_domain_proxy/packs}
|
|
PACK_PUBLIC_BASE: ${PACK_PUBLIC_BASE:-https://mc.tkrmagid.kr/pack}
|
|
volumes:
|
|
- ./data:/data
|
|
restart: unless-stopped
|
|
networks:
|
|
- mc-filter
|
|
|
|
frontend:
|
|
build: ./frontend
|
|
container_name: mc-filter-frontend
|
|
expose:
|
|
- "80"
|
|
restart: unless-stopped
|
|
networks:
|
|
- mc-filter
|
|
|
|
nginx:
|
|
build: ./nginx
|
|
container_name: mc-filter-nginx
|
|
ports:
|
|
- "8080:80" # 대시보드 접근 포트 (외부 포트포워딩 금지 권장)
|
|
- "8081:81" # 팩 공개 다운로드 전용 (/pack/ 만 응답)
|
|
depends_on:
|
|
- api
|
|
- frontend
|
|
restart: unless-stopped
|
|
networks:
|
|
- mc-filter
|
|
|
|
networks:
|
|
mc-filter:
|
|
driver: bridge
|