Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.7"
- services:
- gitlab:
- build:
- context: .
- dockerfile: ./Dockerfile
- restart: always
- hostname: localhost
- container_name: gitlab
- environment:
- GITLAB_OMNIBUS_CONFIG: |
- gitlab_rails['gitlab_shell_ssh_port'] = 8822
- ports:
- - '8880:80'
- - '443:443'
- - '8822:22'
- volumes:
- - 'gitlab-config:/etc/gitlab'
- - 'gitlab-log:/var/log/gitlab'
- - 'gitlab-data:/var/opt/gitlab'
- - './certs/domain.crt:/etc/gitlab/ssl/registry.crt'
- - './certs/domain.key:/etc/gitlab/ssl/registry.key'
- networks:
- gitlab:
- networks:
- gitlab:
- name: gitlab
- driver: overlay
- attachable: true
- volumes:
- gitlab-runner-config:
- gitlab-config:
- gitlab-log:
- gitlab-data:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement