- Echo VERSION_X_Y_Z args back to guacd in CONNECT handshake - Set guacd to network_mode: host so it can reach RDP targets on NetBird/Tailscale overlay networks (100.64.x.x) - App container uses host.docker.internal to reach guacd on host - Add diagnostic logging for guacd→browser instruction relay Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
935 B
YAML
41 lines
935 B
YAML
services:
|
|
app:
|
|
build: .
|
|
ports: ["4210:3000"]
|
|
environment:
|
|
DATABASE_URL: postgresql://wraith:${DB_PASSWORD}@postgres:5432/wraith
|
|
JWT_SECRET: ${JWT_SECRET}
|
|
ENCRYPTION_KEY: ${ENCRYPTION_KEY}
|
|
GUACD_HOST: host.docker.internal
|
|
GUACD_PORT: "4822"
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
guacd:
|
|
condition: service_started
|
|
restart: unless-stopped
|
|
|
|
guacd:
|
|
image: guacamole/guacd
|
|
network_mode: host
|
|
restart: always
|
|
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
ports: ["4211:5432"]
|
|
volumes: [pgdata:/var/lib/postgresql/data]
|
|
environment:
|
|
POSTGRES_DB: wraith
|
|
POSTGRES_USER: wraith
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U wraith"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
|
|
volumes:
|
|
pgdata:
|