- docker-compose: override guacd command with -L debug flag so FreeRDP errors are visible in `docker logs mremotify-guacd-1` - rdp.ts: log RDP host/user, arg names, ready instruction, proxy-mode entry, and any error/disconnect instructions from guacd Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: mremotify
|
|
POSTGRES_PASSWORD: mremotify
|
|
POSTGRES_DB: mremotify
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- internal
|
|
healthcheck:
|
|
test: ['CMD-SHELL', 'pg_isready -U mremotify']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
|
|
guacd:
|
|
image: guacamole/guacd:1.5.4
|
|
restart: unless-stopped
|
|
# -L debug gives full FreeRDP error detail in `docker logs mremotify-guacd-1`
|
|
command: ["/bin/sh", "-c", "/usr/local/sbin/guacd -b 0.0.0.0 -l 4822 -f -L debug"]
|
|
networks:
|
|
- internal
|
|
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/backend.Dockerfile
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
environment:
|
|
POSTGRES_URL: postgresql://mremotify:mremotify@postgres:5432/mremotify
|
|
GUACD_HOST: guacd
|
|
GUACD_PORT: '4822'
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
guacd:
|
|
condition: service_started
|
|
networks:
|
|
- internal
|
|
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/frontend.Dockerfile
|
|
restart: unless-stopped
|
|
ports:
|
|
- '80:80'
|
|
depends_on:
|
|
- backend
|
|
networks:
|
|
- internal
|
|
|
|
networks:
|
|
internal:
|
|
|
|
volumes:
|
|
postgres_data:
|