Comments (3)
I should clarify why this is still an issue: some elements like issues still have URLs that contain the bogus domain element. As a result: clicking on an issue for modifying it, does not work. Instead one has to click (error page result) and then manually edit the URL to go back to the correct server. (I suppose there are similar problems with other parts beyond the issue tracker, but I have not fully tested.)
Any idea of what to change would be appreciated.
from synology-gitlab-ce.
Thank you for the info, and again sorry for my late reply. I have no solution for that. If you change the external_url with Port (as you need on synology) the container fails to boot because this fail internaly. If you change the external_url without port, then the links are technicaly correct but without the port you end up in the DSM. We need somehow to tell the Webserver inside the docker to run under another port (30080), but the the docker port-mapping 30080:80 will fail.... this is a tricky one. I think this is a GitLab Bug, since other URLs are working fine without this setting.
This IS NOT THE SOLUTION, i was playing around with this but got no luck!
# enter container
sudo docker exec -it "synology-gitlab-ce" bash
vi /etc/gitlab/gitlab.rb
# search for external_url and modify to your needs <port is optional> (NO EQUAL SIGN!!!)
# you need the port and the ending backslash
# between external_url and tha value is NO EQUAL SIGN!
# see this example:
external_url 'http://xpenology7:30080/'
# reconfig and restart
gitlab-ctl reconfigure
gitlab-ctl restart
from synology-gitlab-ce.
In the meantime, I completely remade the installation and as part of it, I figured it out. (Sorry, should of posted, but thought, project was abandoned.)
Here is the docker compose, I am using now. The GITLAB_OMNIBUS_CONFIG is the culprit, it seams. (At least, this is what my notes say ,-) )
The gitlab.xx is the url without port.
version: '3.6'
services:
web:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'gitlab.xx'
environment:
GITLAB_OMNIBUS_CONFIG: |
external_url 'https://gitlab.xx'
# Add any other gitlab.rb configuration here, each on its own line
ports:
- '80:20080'
- '443:20443'
- '22:20022'
volumes:
- '/volume1/docker/gitlab-ce/config:/etc/gitlab'
- '/volume1/docker/gitlab-ce/logs:/var/log/gitlab'
- '/volume1/docker/gitlab-ce/data:/var/opt/gitlab'
shm_size: '256m'
from synology-gitlab-ce.
Related Issues (11)
- Cannot support DSM7.1 HOT 4
- Container fails to start `stat /assets/wrapper: no such file` HOT 1
- Migration from very old official synology package (11.8) HOT 12
- dsm6 to dsm7
- build clarifications HOT 9
- unclear install instructions HOT 1
- Please define a license for this HOT 2
- No migration Path for DSM6 latest GitLab 13.12.2 avaible HOT 9
- Unclear Instructions HOT 1
- Works succesfully, including migration to 16.0.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synology-gitlab-ce.