Skip to content

Instantly share code, notes, and snippets.

@shouhei
Created June 9, 2018 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shouhei/7b5336818e25da42bf649d4d9538d90f to your computer and use it in GitHub Desktop.
Save shouhei/7b5336818e25da42bf649d4d9538d90f to your computer and use it in GitHub Desktop.
gitlab pages を試すサンプル
version: "3.6"
services:
web:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.example.local'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://gitlab.example.local'
nginx['listen_https'] = false
letsencrypt['enable'] = false
pages_external_url 'http://pages.gitlab.example.local'
gitlab_pages['inplace_chroot'] = true
ports:
- '80:80'
#- '443:443'
- '1022:22'
volumes:
- '/srv/gitlab/config:/etc/gitlab'
- '/srv/gitlab/logs:/var/log/gitlab'
- '/srv/gitlab/data:/var/opt/gitlab'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment