mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add docker registry to Gitlab
This commit is contained in:
parent
821ea206d9
commit
327fdd209f
2 changed files with 17 additions and 12 deletions
|
|
@ -10,16 +10,19 @@ services:
|
|||
image: 'gitlab/gitlab-ce:latest'
|
||||
hostname: ${GITLAB_DOMAIN}
|
||||
labels:
|
||||
- "traefik.backend=gitlab"
|
||||
- "traefik.docker.network=web"
|
||||
- "traefik.frontend.rule=Host:gitlab.banditlair.com"
|
||||
- "traefik.enable=true"
|
||||
- "traefik.port=9090"
|
||||
- "traefik.default.protocol=http"
|
||||
- "traefik.backend=gitlab"
|
||||
- "traefik.gitlab.frontend.rule=Host:gitlab.banditlair.com"
|
||||
- "traefik.gitlab.port=9090"
|
||||
- "traefik.registry.frontend.rule=Host:registry.banditlair.com"
|
||||
- "traefik.registry.port=5005"
|
||||
ports:
|
||||
- "2224:22"
|
||||
expose:
|
||||
- 9090
|
||||
- 5005
|
||||
volumes:
|
||||
- ./config:/etc/gitlab
|
||||
- /var/log/gitlab:/var/log/gitlab
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue