mirror of
https://github.com/MeshCore-Beacon/beacon-web.git
synced 2026-09-02 17:23:45 +00:00
scripts/ was caught by a stray .gitignore entry, so the npm start/stop helpers pointed at a file fresh clones never got. Also sweep the last tower-* references out of comments, compose and the map test fixture.
24 lines
787 B
YAML
24 lines
787 B
YAML
services:
|
|
caddy:
|
|
image: caddy:2-alpine
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
environment:
|
|
- DOMAIN=${DOMAIN:?DOMAIN environment variable is required}
|
|
volumes:
|
|
- ./data/Caddy/CaddyFile/Caddyfile.proxy:/etc/caddy/Caddyfile
|
|
- ./data/Caddy/data:/data/caddy/
|
|
- ./data/Caddy/config:/config/caddy/
|
|
restart: unless-stopped
|
|
|
|
beacon-web:
|
|
image: ghcr.io/meshcore-beacon/beacon-web:latest
|
|
environment:
|
|
- VITE_API_BASE=${VITE_API_BASE:?VITE_API_BASE environment variable is required}
|
|
- VITE_WS_URL=${VITE_WS_URL:?VITE_WS_URL environment variable is required}
|
|
# Optional "All" map view; unset = world overview
|
|
- VITE_MAP_CENTER=${VITE_MAP_CENTER:-}
|
|
- VITE_MAP_ZOOM=${VITE_MAP_ZOOM:-}
|
|
restart: unless-stopped
|