SHARE
TWEET

Untitled

a guest Oct 10th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3.7"
  2. services:
  3.   gitlab:
  4.     build:
  5.       context: .
  6.       dockerfile: ./Dockerfile
  7.     restart: always
  8.     hostname: localhost
  9.     container_name: gitlab
  10.     environment:
  11.       GITLAB_OMNIBUS_CONFIG: |
  12.         gitlab_rails['gitlab_shell_ssh_port'] = 8822
  13.     ports:
  14.       - '8880:80'
  15.       - '443:443'
  16.       - '8822:22'
  17.     volumes:
  18.       - 'gitlab-config:/etc/gitlab'
  19.       - 'gitlab-log:/var/log/gitlab'
  20.       - 'gitlab-data:/var/opt/gitlab'
  21.       - './certs/domain.crt:/etc/gitlab/ssl/registry.crt'
  22.       - './certs/domain.key:/etc/gitlab/ssl/registry.key'
  23.     networks:
  24.       gitlab:
  25.  
  26. networks:
  27.   gitlab:
  28.     name: gitlab
  29.     driver: overlay
  30.     attachable: true
  31.  
  32. volumes:
  33.   gitlab-runner-config:
  34.   gitlab-config:
  35.   gitlab-log:
  36.   gitlab-data:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top