diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f8a4a99 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,31 @@ +version: '3.7' +services: + github-wiki-theme: + build: + context: . + dockerfile: .env-files/Dockerfile.github + ports: + - 4000:4000 + - 35729:35729 + environment: + - BUNDLE_GEMFILE=.env-files/Gemfile.github + volumes: + - .:/srv/jekyll + - github_site:/srv/jekyll/_site + command: bundle exec jekyll serve --host 0.0.0.0 --force_polling --livereload + gitlab-wiki-theme: + build: + context: . + dockerfile: .env-files/Dockerfile.gitlab + ports: + - 4000:4000 + - 35729:35729 + environment: + - BUNDLE_GEMFILE=.env-files/Gemfile.gitlab + volumes: + - .:/srv/jekyll + - gitlab_site:/srv/jekyll/_site + command: 'bundle exec jekyll serve --host 0.0.0.0 --force_polling --livereload' +volumes: + github_site: + gitlab_site:
\ No newline at end of file |
