From 34d1b9c870731816031dd8a59e48ed4efb8d8b24 Mon Sep 17 00:00:00 2001 From: Eugen <1533818+armab@users.noreply.github.com> Date: Thu, 18 Aug 2022 00:28:08 +0200 Subject: [PATCH] Add basic docker-compose file for a local web development --- README.md | 7 +++++++ docker-compose.yml | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 docker-compose.yml diff --git a/README.md b/README.md index 98a9014d..07e1aaf8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # stackstorm.com StackStorm website and blog based on Github static pages. + +## Development +To start the stackstorm.com website on a local web server, run: +```shell +docker-compose up +``` +Navigate to http://localhost/ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..3d82dc22 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: "3" + +services: + website: + image: nginx + ports: + - 80:80 + volumes: + - ./:/usr/share/nginx/html