From 4db15787882fcb1c91760e26d8702e726cdc28a3 Mon Sep 17 00:00:00 2001 From: ecobytes <support@ecobytes.net> Date: Wed, 21 Dec 2016 01:42:15 +0000 Subject: [PATCH] allmendification via docker compose --- content/index.html | 2 ++ docker-compose.yml | 22 ++++++++++++++++++++++ example-content/index.html | 1 - 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 content/index.html create mode 100644 docker-compose.yml delete mode 100644 example-content/index.html diff --git a/content/index.html b/content/index.html new file mode 100644 index 0000000..cadafc6 --- /dev/null +++ b/content/index.html @@ -0,0 +1,2 @@ +foo bar +fizz buzz diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..11f82bd --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +version: '2' + +services: + + static: + build: . + environment: + VIRTUAL_HOST: '' + VIRTUAL_PORT: '80' + volumes: + - ./content/:/var/www + - ./lighttpd.conf:/etc/lighttpd/lighttpd.conf + expose: + - 80 + networks: + - front-tier + +networks: + + front-tier: + external: + name: nginx_default diff --git a/example-content/index.html b/example-content/index.html deleted file mode 100644 index 5809123..0000000 --- a/example-content/index.html +++ /dev/null @@ -1 +0,0 @@ -This is your content. -- GitLab