version: "3"
services:
app:
image: my-app:latest
build: .
environment:
- DISPLAY=127.0.0.1:0.0
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
networks:
- host
host: