Prepare for an eventual frontend

Move the backend code into a backend/ directory, and create a frontend/
directory containing an empty sveltekit project.
This commit is contained in:
Zeph Levy 2025-12-16 17:20:31 +01:00
parent d65efebb44
commit df7d4f3507
25 changed files with 461 additions and 2 deletions

View file

@ -3,7 +3,7 @@ services:
image: docker.io/library/postgres:alpine
container_name: postgres
env_file:
- .env
- backend/.env
ports:
- "5432:5432"
volumes:
@ -11,6 +11,20 @@ services:
- postgres_data:/var/lib/postgresql/data:Z
restart: unless-stopped
frontend:
image: oven/bun:latest
container_name: frontend
working_dir: /app
command: bun run dev --host
ports:
- "5173:5173"
volumes:
- ./frontend:/app:Z
# env_file:
# - frontend/.env
restart: unless-stopped
volumes:
postgres_data: