version: "2" services: twgsproxy: image: pyproxy build: proxy-image volumes: - ./:/home/python/src working_dir: /home/python/src command: ["python", "tcp-proxy.py"] network_mode: "host"