Square payment fixes

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
James Pattinson
2026-04-26 09:16:12 +00:00
parent e1659c07ea
commit 0c0b5fbefe
5 changed files with 495 additions and 39 deletions
+27 -31
View File
@@ -55,38 +55,34 @@ services:
# mysql:
# condition: service_healthy
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
target: development
restart: unless-stopped
environment:
- VITE_HOST_CHECK=false
- VITE_ALLOWED_HOSTS=${VITE_ALLOWED_HOSTS}
ports:
- "8050: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
#frontend-prod:
# build:
# context: ./frontend
# dockerfile: Dockerfile
# target: production
# container_name: membership_frontend_prod
# restart: unless-stopped
# ports:
# - "8050:80" # Nginx default port
# depends_on:
# - backend
# networks:
# - membership_private
# frontend:
# build:
# context: ./frontend
# dockerfile: Dockerfile
# target: development
# restart: unless-stopped
# environment:
# - VITE_HOST_CHECK=false
# - VITE_ALLOWED_HOSTS=${VITE_ALLOWED_HOSTS}
# ports:
# - "8050: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
frontend-prod:
build:
context: ./frontend
dockerfile: Dockerfile
target: production
restart: unless-stopped
ports:
- "8050:80" # Nginx default port
depends_on:
- backend
volumes:
# mysql_data: