generated from Drassil/git-wiki-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
31 lines (31 loc) · 800 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '3.7'
services:
github-wiki-skeleton:
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-skeleton:
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: