Files
medassist-ng/docker-compose.yml
T
Daniel Volz aac4079c54 Add script to build and push Docker images to registry
- Introduced `push-images.sh` script for building and pushing backend and frontend images.
- Added functionality to select or input image tags.
- Integrated environment variable support for registry configuration.
- Implemented prompts for user confirmation before building and pushing images.
- Updated `docker-compose.prod.yml` with new image tags after pushing.
2025-12-20 15:32:38 +01:00

30 lines
637 B
YAML

services:
backend-dev:
image: node:25-slim
working_dir: /app
command: sh -c "npm install && npm run dev"
volumes:
- ./backend:/app
- backend_node_modules:/app/node_modules
- ./backend/data:/app/data
env_file:
- .env
ports:
- "3000:3000"
frontend-dev:
image: node:25-slim
working_dir: /app
command: sh -c "npm install && npm run dev -- --host --port 5173"
volumes:
- ./frontend:/app
- frontend_node_modules:/app/node_modules
ports:
- "5173:5173"
depends_on:
- backend-dev
volumes:
backend_node_modules:
frontend_node_modules: