- frontend-temp/ 폴더 생성 (Strangler Fig Pattern) - package.json: clsx 추가, 버전 2.0.0 - vite.config.js: @ path alias 추가 - 기본 폴더 구조 생성 (api, components, hooks, pages, stores, utils, constants) - docker-compose.yml: fromis9-frontend-dev 서비스 추가 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
66 lines
1.3 KiB
YAML
66 lines
1.3 KiB
YAML
services:
|
|
fromis9-frontend:
|
|
build: ./frontend
|
|
container_name: fromis9-frontend
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=false"
|
|
volumes:
|
|
- ./frontend:/app
|
|
depends_on:
|
|
- fromis9-backend
|
|
networks:
|
|
- app
|
|
restart: unless-stopped
|
|
|
|
fromis9-frontend-dev:
|
|
build: ./frontend-temp
|
|
container_name: fromis9-frontend-dev
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=false"
|
|
volumes:
|
|
- ./frontend-temp:/app
|
|
depends_on:
|
|
- fromis9-backend
|
|
networks:
|
|
- app
|
|
restart: unless-stopped
|
|
|
|
fromis9-backend:
|
|
build: ./backend
|
|
container_name: fromis9-backend
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=false"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./backend:/app
|
|
networks:
|
|
- app
|
|
- db
|
|
restart: unless-stopped
|
|
|
|
meilisearch:
|
|
image: getmeili/meilisearch:v1.6
|
|
container_name: fromis9-meilisearch
|
|
environment:
|
|
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
|
|
volumes:
|
|
- ./meilisearch_data:/meili_data
|
|
networks:
|
|
- app
|
|
restart: unless-stopped
|
|
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: fromis9-redis
|
|
volumes:
|
|
- ./redis_data:/data
|
|
networks:
|
|
- app
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
app:
|
|
external: true
|
|
db:
|
|
external: true
|