- frontend_modules, backend_modules 볼륨 제거 - 컨테이너에서 npm install 시 호스트 node_modules에 직접 설치 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
53 lines
1 KiB
YAML
53 lines
1 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-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
|