gistfile1.txt
· 567 B · Text
Raw
version: '3.7'
services:
gitlab:
image: gitlab/gitlab-ce:latest
container_name: gitlab
restart: always
hostname: '<your reverse address without https://>'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url '<your reverse address WITH https://>'
gitlab_rails['gitlab_shell_ssh_port'] = 2224
ports:
- '2080:80'
- '2443:443'
- '2224:22'
volumes:
- /volume1/docker/gitlab/config:/etc/gitlab
- /volume1/docker/gitlab/logs:/var/log/gitlab
- /volume1/docker/gitlab/data:/var/opt/gitlab
1 | version: '3.7' |
2 | |
3 | services: |
4 | gitlab: |
5 | image: gitlab/gitlab-ce:latest |
6 | container_name: gitlab |
7 | restart: always |
8 | hostname: '<your reverse address without https://>' |
9 | environment: |
10 | GITLAB_OMNIBUS_CONFIG: | |
11 | external_url '<your reverse address WITH https://>' |
12 | gitlab_rails['gitlab_shell_ssh_port'] = 2224 |
13 | ports: |
14 | - '2080:80' |
15 | - '2443:443' |
16 | - '2224:22' |
17 | volumes: |
18 | - /volume1/docker/gitlab/config:/etc/gitlab |
19 | - /volume1/docker/gitlab/logs:/var/log/gitlab |
20 | - /volume1/docker/gitlab/data:/var/opt/gitlab |