version: '3' services: mynginx: build: context: ./ dockerfile: ./docker/Dockerfile depends_on: - httpbin container_name: nginx-proxy-test image: thornycrackers/nginx-proxy-test ports: - "8822:80" volumes: - .:/usr/src/app - ./docker/nginx:/etc/nginx httpbin: image: kennethreitz/httpbin ports: - "8823:80"