Basic frontend

This commit is contained in:
James Pattinson
2025-11-10 14:51:15 +00:00
parent 3751ee0076
commit 93aeda8e83
27 changed files with 1828 additions and 2 deletions

View File

@@ -40,6 +40,25 @@ services:
networks:
- membership_private # Access to database on private network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: membership_frontend
restart: unless-stopped
environment:
- VITE_HOST_CHECK=false
ports:
- "3500:3000" # Expose frontend to host
volumes:
- ./frontend/src:/app/src
- ./frontend/public:/app/public
- ./frontend/vite.config.ts:/app/vite.config.ts
depends_on:
- backend
networks:
- membership_private # Access to backend on private network
networks:
membership_private:
driver: bridge