diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 362fd7c..f8a4a99 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,10 +1,31 @@ version: '3.7' services: - git-wiki-theme: - build: . + 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 - command: bundle exec jekyll serve --host 0.0.0.0 --force_polling --livereload
\ No newline at end of file + - 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 |
