summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: f8a4a99262edbb82594dfaa147e8bb64c426be11 (plain)
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-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: