version: '3.4' services: http-echo: build: image: ${COMPOSE_PROJECT_NAME}_httpecho context: ./ dockerfile: httpecho.Dockerfile expose: - 8080 environment: - VIRTUAL_PORT=8080 - VIRTUAL_HOST=${HOST}