diff --git a/README.md b/README.md index b76db87b8..5741ec8a9 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,12 @@ You're done! 1. Start the development server with `npm run dev`. 1. Open development site by going to [http://localhost:3000](http://localhost:3000) in your browser. +#### Or, with docker-compose: + +1. [Clone this repo](https://help.github.com/en/articles/cloning-a-repository) with git. +1. Run `docker-compose up` +1. Open development site by going to [http://localhost:3000](http://localhost:3000) in your browser. + ## Docker 🐳 ```bash diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..7a86bf734 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +version: "3.7" + +services: + web: + build: + context: . + volumes: + - "./.postwoman:/app/.postwoman" + - "./assets:/app/assets" + - "./directives:/app/directives" + - "./layouts:/app/layouts" + - "./middleware:/app/middleware" + - "./pages:/app/pages" + - "./plugins:/app/plugins" + - "./static:/app/static" + - "./store:/app/store" + ports: + - "3000:3000" + command: "npm run dev"