fb7d7c5b2d
- Replace static HTML with Vue 3 SPA (Vite + TypeScript) - Add GalaxyCanvas component (interactive particle animation) - Component-based sections (HeroSection, SectionBlock, FooterView) - Add nginx.conf with SPA routing + security headers - Update compose.yaml to mount nginx config - Build output in html/ directory
33 lines
780 B
YAML
33 lines
780 B
YAML
name: bao-landing
|
|
|
|
services:
|
|
web:
|
|
image: nginx:alpine
|
|
restart: unless-stopped
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 64M
|
|
reservations:
|
|
memory: 16M
|
|
volumes:
|
|
- ./html:/usr/share/nginx/html:ro
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.bao-landing.rule=Host(`noveria.net`)"
|
|
- "traefik.http.routers.bao-landing.tls=true"
|
|
- "traefik.http.routers.bao-landing.tls.certresolver=letsencrypt"
|
|
- "traefik.http.services.bao-landing.loadbalancer.server.port=80"
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|