Files
calendar/compose.yml
Connor Johnstone 5456d7140c
Some checks failed
Build and Push Docker Image / docker (push) Failing after 21s
Manual updates to fix some deployment steps
2025-09-02 16:03:11 -04:00

23 lines
475 B
YAML

services:
calendar-backend:
build:
context: .
dockerfile: ./backend/Dockerfile
ports:
- "3000:3000"
volumes:
- ./data/db:/db
calendar-frontend:
image: caddy
environment:
- BACKEND_API_URL=http://localhost:3000/api
ports:
- "80:80"
- "443:443"
volumes:
- ./frontend/dist:/srv/www:ro
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./data/caddy/data:/data
- ./data/caddy/config:/config