version: '3' services: win: build: . environment: - DISPLAY=$DISPLAY - WAYLAND_DISPLAY=$WAYLAND_DISPLAY - XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR - PULSE_SERVER=$PULSE_SERVER restart: always tty: true volumes: - /tmp/.X11-unix:/tmp/.X11-unix - /mnt/wslg:/mnt/wslg - $HOME/.ssh:/root/.ssh - $HOME/.vimrc:/root/.vimrc - $HOME/.vim:/root/.vim - $HOME/.gitconfig:/root/.gitconfig - $HOME/solutions:/root/solutions - ./healthcheck.sh:/root/healthcheck.sh healthcheck: test: "/root/healthcheck.sh" interval: 1s timeout: 1s retries: 3 start_period: 0s mac: build: . environment: - DISPLAY=host.docker.internal:0 restart: always tty: true volumes: - $HOME/.ssh:/root/.ssh - $HOME/.vimrc:/root/.vimrc - $HOME/.vim:/root/.vim - $HOME/.gitconfig:/root/.gitconfig - $HOME/solutions:/root/solutions - ./healthcheck.sh:/root/healthcheck.sh healthcheck: test: "/root/healthcheck.sh" interval: 1s timeout: 1s retries: 3 start_period: 0s others: build: . restart: always tty: true volumes: - $HOME/solutions:/root/solutions - ./healthcheck.sh:/root/healthcheck.sh healthcheck: test: "/root/healthcheck.sh" interval: 1s timeout: 1s retries: 3 start_period: 0s