migrate
This commit is contained in:
parent
3a678e946e
commit
df25697229
1 changed files with 9 additions and 9 deletions
|
@ -8,8 +8,8 @@ services:
|
||||||
- USER_UID=1000
|
- USER_UID=1000
|
||||||
- USER_GID=1002
|
- USER_GID=1002
|
||||||
- LETSENCRYPT_EMAIL=webmaster@faulty.nl
|
- LETSENCRYPT_EMAIL=webmaster@faulty.nl
|
||||||
- LETSENCRYPT_HOST=git.faulty.nl
|
- LETSENCRYPT_HOST=gitea.faulty.nl
|
||||||
- VIRTUAL_HOST=git.faulty.nl
|
- VIRTUAL_HOST=gitea.faulty.nl
|
||||||
- VIRTUAL_PORT=3000
|
- VIRTUAL_PORT=3000
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
|
@ -21,23 +21,23 @@ services:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- "22:22"
|
- "2222:22"
|
||||||
|
|
||||||
gitlab:
|
gitlab:
|
||||||
image: gitlab/gitlab-ce:latest
|
image: gitlab/gitlab-ce:latest
|
||||||
restart: always
|
restart: always
|
||||||
hostname: 'lab.neo.faulty.nl'
|
hostname: 'git.faulty.nl'
|
||||||
environment:
|
environment:
|
||||||
GITLAB_OMNIBUS_CONFIG: |
|
GITLAB_OMNIBUS_CONFIG: |
|
||||||
external_url 'https://lab.neo.faulty.nl'
|
external_url 'https://git.faulty.nl'
|
||||||
gitlab_rails['gitlab_shell_ssh_port'] = 2222
|
gitlab_rails['gitlab_shell_ssh_port'] = 22
|
||||||
nginx['listen_port'] = 80
|
nginx['listen_port'] = 80
|
||||||
nginx['listen_https'] = false
|
nginx['listen_https'] = false
|
||||||
# temp ssh port
|
# temp ssh port
|
||||||
VIRTUAL_HOST: lab.neo.faulty.nl
|
VIRTUAL_HOST: git.faulty.nl
|
||||||
LETSENCRYPT_HOST: lab.neo.faulty.nl
|
LETSENCRYPT_HOST: git.faulty.nl
|
||||||
ports:
|
ports:
|
||||||
- '2222:22'
|
- '22:22'
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/gitlab/config:/etc/gitlab
|
- /srv/gitlab/config:/etc/gitlab
|
||||||
- /srv/gitlab/data:/var/opt/gitlab
|
- /srv/gitlab/data:/var/opt/gitlab
|
||||||
|
|
Reference in a new issue