Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

...

docker-compose.yml

Code Block
languageyaml
version: '3.8'
services:
  web:
    image: 'gitlab/gitlab-ce:14.2.3-ce.0'
    hostname: 'version.ice.i-on.net'
    restart: always
    container_name: gitlab-ce
    environment:
      GITLAB_OMNIBUS_CONFIG: |
        external_url 'http://version.ice.i-on.net'
        nginx['redirect_http_to_https'] = false
        letsencrypt['enable'] = false
        gitlab_rails['time_zone'] = 'Asia/Seoul'
        gitlab_rails['smtp_enable'] = true
        gitlab_rails['smtp_address'] = 'smtp.gmail.com'
        gitlab_rails['smtp_port'] = 587
        gitlab_rails['smtp_user_name'] = 'ice@ion.net'
        gitlab_rails['smtp_password'] = 'dkdldhs!QAZ1'
        gitlab_rails['smtp_domain'] = 'smtp.gmail.com'
        gitlab_rails['smtp_authentication'] = 'login'
        gitlab_rails['smtp_enable_starttls_auto'] = true
        gitlab_rails['smtp_tls'] = false
        gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
    ports:
      - '80:80'
      - '443:443'
      - '10022:22'
      - '5050:5050'
    volumes:
      - './etc/gitlab:/etc/gitlab'
      - './log/gitlab:/var/log/gitlab'
      - './data/gitlab:/var/opt/gitlab'
      - './backup/gitlab:/var/opt/gitlab/backups'

...