Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab CE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
Deployments
GitLab CE
Commits
b9a7f660
Verified
Commit
b9a7f660
authored
2 years ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Update GitLab Container Registry URL
parent
991e60d6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
sample.docker-compose.yml
+4
-4
4 additions, 4 deletions
sample.docker-compose.yml
with
5 additions
and
5 deletions
README.md
+
1
−
1
View file @
b9a7f660
...
...
@@ -18,7 +18,7 @@ services in a single container.
*
Pre-configured to run at subdomains of your
**own domain**
:
*
GitLab: gitlab.mydomain.com
*
Mattermost: mattermost.mydomain.com
*
Registry: registry.gitlab
.mydomain.com
*
Container Registry: glcr
.mydomain.com
*
Exposes GitLab shell on port 10022 by default.
*
Sends emails through an
[
exim-relay
](
https://hub.docker.com/r/devture/exim-relay
)
container by
...
...
This diff is collapsed.
Click to expand it.
sample.docker-compose.yml
+
4
−
4
View file @
b9a7f660
...
...
@@ -18,11 +18,11 @@ services:
-
traefik.docker.network=webproxy
-
traefik.http.services.gitlab.loadbalancer.server.port=80
-
traefik.http.routers.gitlab.entrypoints=web
-
traefik.http.routers.gitlab.rule=Host(`gitlab.${GL_DOMAIN}`,`mattermost.${GL_DOMAIN}`,`
registry.gitlab
.${GL_DOMAIN}`)
-
traefik.http.routers.gitlab.rule=Host(`gitlab.${GL_DOMAIN}`,`mattermost.${GL_DOMAIN}`,`
glcr
.${GL_DOMAIN}`)
-
traefik.http.routers.gitlab.middlewares=http2https@file
#- traefik.http.routers.gitlab.service=gitlab
-
traefik.http.routers.gitlab-sec.entrypoints=websecure
-
traefik.http.routers.gitlab-sec.rule=Host(`gitlab.${GL_DOMAIN}`,`mattermost.${GL_DOMAIN}`,`
registry.gitlab
.${GL_DOMAIN}`)
-
traefik.http.routers.gitlab-sec.rule=Host(`gitlab.${GL_DOMAIN}`,`mattermost.${GL_DOMAIN}`,`
glcr
.${GL_DOMAIN}`)
-
traefik.http.routers.gitlab-sec.middlewares=sts@file
#- traefik.http.routers.gitlab-sec.service=gitlab
-
traefik.http.routers.gitlab-sec.tls.certresolver=${GL_CERTRESOLVER_NAME}
...
...
@@ -81,7 +81,7 @@ services:
#gitlab_rails['smtp_openssl_verify_mode'] = 'none'
## Container Registry settings
registry_external_url 'https://
registry.gitlab
.${GL_DOMAIN}'
registry_external_url 'https://
glcr
.${GL_DOMAIN}'
### Settings used by GitLab application
gitlab_rails['registry_enabled'] = true
...
...
@@ -149,7 +149,7 @@ services:
"X-Forwarded-Ssl" => "on"
}
## Registry NGINX
##
Container
Registry NGINX
registry_nginx['enable'] = true
#registry_nginx['listen_addresses'] = ['*', '[::]']
registry_nginx['listen_port'] = 80
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment