version: '3.8' services: pixelforge: build: . image: pixelforge:1.0 container_name: pixelforge_app environment: # On Linux: DISPLAY is set automatically. # On Windows: start VcXsrv/X410 and set DISPLAY=host.docker.internal:0.0 - DISPLAY=${DISPLAY:-host.docker.internal:0.0} volumes: # Mount X11 socket on Linux/Mac for display forwarding - /tmp/.X11-unix:/tmp/.X11-unix:rw network_mode: host stdin_open: true tty: true