Files
nixos-core/apps/excalidraw/docker-compose.yml
T
kiskaadee 0281935169 feat(arch): enable .localhost subdomains and docker-aware dashboard
- Updated all services to be reachable via *.localhost for local access.
- Integrated Homepage dashboard with Docker socket via socket-proxy.
- Populated Homepage services with live container status monitoring.
- Updated usability documentation to include local access instructions.
2026-05-14 08:03:00 -05:00

34 lines
1.3 KiB
YAML

services:
excalidraw:
image: excalidraw/excalidraw:latest
environment:
- REACT_APP_BACKEND_V2_GET_URL=https://excalidraw.arch-services.mywire.org/api/v2
- REACT_APP_BACKEND_V2_POST_URL=https://excalidraw.arch-services.mywire.org/api/v2
- REACT_APP_WS_SERVER_URL=wss://excalidraw.arch-services.mywire.org/socket.io
networks:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.excalidraw.rule=Host(`excalidraw.arch-services.mywire.org`) || Host(`excalidraw.localhost`)"
- "traefik.http.routers.excalidraw.entrypoints=websecure"
- "traefik.http.routers.excalidraw.tls.certresolver=myresolver"
- "traefik.http.services.excalidraw.loadbalancer.server.port=80"
excalidraw-room:
image: excalidraw/excalidraw-room:latest
restart: on-failure
networks:
- proxy-net
labels:
- "traefik.enable=true"
- "traefik.http.routers.excalidraw-room.rule=(Host(`excalidraw.arch-services.mywire.org`) || Host(`excalidraw.localhost`)) && PathPrefix(`/socket.io`)"
- "traefik.http.routers.excalidraw-room.entrypoints=websecure"
- "traefik.http.routers.excalidraw-room.tls.certresolver=myresolver"
- "traefik.http.services.excalidraw-room.loadbalancer.server.port=8080"
networks:
proxy-net:
external: true