diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-10 23:38:23 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-10 23:38:23 +0100 |
| commit | db390ca5ac2d3b3a9bcefca03f0b20834f4cacf9 (patch) | |
| tree | 3a3c95a6b9ff30f1891790874b5bff87938906f9 /docker-compose.yml | |
| parent | b3079927197d733856f44409a80110a38cdfec33 (diff) | |
| download | wiki-db390ca5ac2d3b3a9bcefca03f0b20834f4cacf9.tar.gz wiki-db390ca5ac2d3b3a9bcefca03f0b20834f4cacf9.tar.bz2 wiki-db390ca5ac2d3b3a9bcefca03f0b20834f4cacf9.zip | |
upgraded docker & gemfile
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 |
