This repository has been archived on 2025-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
vue-with-websockets/development.yml

43 lines
876 B
YAML
Raw Permalink Normal View History

services:
frontend:
build:
context: ./frontend
dockerfile: ../Dockerfile.frontend
networks:
- project-network
# ports:
# - "5173:5173"
volumes:
# Mount frontend directory for hot reloading
- ./frontend:/app
# Ignore node_modules directory
- /app/node_modules
backend:
build:
context: ./backend
dockerfile: ../Dockerfile.backend
networks:
- project-network
# ports:
# - "8080:8080"
volumes:
# Mount backend directory for hot reloading
- ./backend:/app
# Ignore node_modules directory
- /app/node_modules
caddy:
image: caddy:2-alpine
restart: unless-stopped
networks:
- project-network
ports:
- "8000:80"
volumes:
- ./caddy/Caddyfile:/etc/caddy/Caddyfile
networks:
project-network:
driver: bridge