diff --git a/docker-compose.yml b/docker-compose.yml index 58389ae..c6008ee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,12 @@ -version: '3.4' - -services: - http-echo: - image: mendhak/http-https-echo:latest - expose: - - 8080 - environment: - - VIRTUAL_PORT=8080 +version: '3.4' + +services: + http-echo: + build: + content: ./ + dockerfile: httpecho.Dockerfile + expose: + - 8080 + environment: + - VIRTUAL_PORT=8080 - VIRTUAL_HOST=${HOST} \ No newline at end of file diff --git a/httpecho.Dockerfile b/httpecho.Dockerfile new file mode 100644 index 0000000..4f32de9 --- /dev/null +++ b/httpecho.Dockerfile @@ -0,0 +1,2 @@ +FROM mendhak/http-https-echo:latest +RUN echo "Hello" \ No newline at end of file