version: "3.4" networks: shared: external: name: shared private: services: conduit-sshd: image: conduit/sshd build: dockerfile: ./docker/sshd/Dockerfile context: ./ volumes: - ./docker/sshd/entrypoint.sh:/entrypoint.sh:ro - ./sshd:/app:ro - ./docker/sshd/host_keys:/etc/sshd/keys:ro networks: - shared - private extra_hosts: - shanty.local:192.168.100.200 environment: - DEBUG=sshd* - AUTORELOAD=true - SHANTY_URL=http://shanty.local:8000 - HAPROXY_HOST=conduit-haproxy conduit-client: image: conduit/client build: dockerfile: ./docker/client/Dockerfile context: ./ command: twotube.com:conduit-echo:10088 bistro2.farley.org:conduit-echo:10088 volumes: - ./client:/app:ro - ./docker/client/entrypoint.py:/entrypoint.py:ro - ./docker/client/client.key:/etc/client/client.key:ro depends_on: - conduit-sshd networks: - shared - private depends_on: - conduit-sshd - conduit-haproxy environment: - SSH_HOST=conduit-haproxy - SSH_USER=0ac99280-5233-47d1-a43b-b02379e832d0 - SSH_KEY_FILE=/etc/client/client.key - LOG_LEVEL=debug conduit-haproxy: image: conduit/haproxy build: dockerfile: ./docker/haproxy/Dockerfile context: ./ volumes: - ./docker/haproxy/errors/404.http:/usr/local/etc/haproxy/errors/404.http:ro - ./docker/haproxy/errors/503.http:/usr/local/etc/haproxy/errors/503.http:ro - ./docker/haproxy/tunnels.map:/usr/local/etc/haproxy/tunnels.map:ro - ./docker/haproxy/lua:/usr/local/etc/haproxy/lua:ro - ./docker/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg:ro networks: shared: ipv4_address: 192.168.100.201 private: depends_on: - conduit-sshd ports: - 10088:80 conduit-echo: image: jmalloc/echo-server networks: - private environment: - PORT=10088