Files
zen-kanji/docker-compose.dev.yml
Rene Kievits 8552b44ffd
All checks were successful
Release Build / build-docker (push) Successful in 9s
Release Build / build-android-and-release (push) Successful in 2m18s
Change prod workflow and add automatic deployment
2025-12-24 16:30:27 +01:00

34 lines
593 B
YAML

services:
mongo:
image: mongo:6
container_name: zen_mongo
restart: always
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
networks:
- zen-network
server:
depends_on:
- mongo
environment:
- MONGO_URI=mongodb://mongo:27017/zenkanji
volumes:
- ./server:/app
- /app/node_modules
ports:
- "3000:3000"
command: npm run dev
client:
build:
target: dev-stage
ports:
- "5173:5173"
volumes:
- ./client:/app
- /app/node_modules
command: npm run dev -- --host