docker-strapi-easy

Easy boilerplate to run an strapi instance that also boots up a global nginx-proxy (jwilder/nginx-proxy) and makes sure it doesn't run more than once on the system (using the docker-nginx-global-proxy npm package).

Usage no npm install needed!

<script type="module">
  import dockerStrapiEasy from 'https://cdn.skypack.dev/docker-strapi-easy';
</script>

README

docker-strapi-easy

Easy boilerplate to run an strapi instance that also boots up a global nginx-proxy (jwilder/nginx-proxy) and makes sure it doesn't run more than once on the system (using the docker-nginx-global-proxy npm package).

Installation

yarn create docker-strapi-easy
# ... answer the prompts...
# this will fill up your root project folder with all the files necessary to spin up this docker-strapi-easy npm package
yarn
# to spin up the app
yarn up
# use the -d flag to do this in detached mode
yarn up -d
# to spin down (won't stop the global nginx proxy):
yarn down
# to take down the global nginx proxy:
yarn docker-nginx-global-proxy-down

Top Tips

  • Don't use the .dev TLD for local development. It don't work so good.