maplestory/docker-compose.yml
caadiq 4bbb496724 초기 프로젝트 설정
- React + Vite + Tailwind 프론트엔드
- Express + Sequelize + MariaDB 백엔드
- 넥슨 OAuth 2.0 인증 (캐릭터 목록 조회)
- 주간 보스 결정석 수익 계산기 UI (리스트형)
- Docker Compose + Caddy 리버스 프록시 설정
- 보스/난이도 이미지 에셋 포함

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 18:55:06 +09:00

49 lines
946 B
YAML

services:
frontend:
container_name: maplestory-frontend
image: node:22-alpine
working_dir: /app
volumes:
- ./frontend:/app
- frontend_modules:/app/node_modules
command: sh -c "npm install && npm run dev"
labels:
- "com.centurylinklabs.watchtower.enable=false"
networks:
- caddy
backend:
container_name: maplestory-backend
image: node:22-alpine
working_dir: /app
volumes:
- ./backend:/app
- backend_modules:/app/node_modules
command: sh -c "npm install && npm run dev"
env_file: .env
labels:
- "com.centurylinklabs.watchtower.enable=false"
networks:
- caddy
- db
- app
redis:
image: redis:7-alpine
volumes:
- redis-data:/data
networks:
- app
volumes:
frontend_modules:
backend_modules:
redis-data:
networks:
caddy:
external: true
db:
external: true
app:
external: true