You are not logged in.
I have problem with gitlab. I am using docker for it' starting.
docker-compose.yml
postgresql:
image: sameersbn/postgresql:9.4
environment:
- DB_USER=gitlab
- DB_PASS=secretpassword
- DB_NAME=gitlabhq_production
gitlab:
image: sameersbn/gitlab:7.9.3
links:
- redis:redisio
- postgresql:postgresql
ports:
- "10080:80"
- "10022:22"
redis:
image: sameersbn/redis:latest
I cannot clone or push repo.
When I try to clone repo I get this message:
$git clone http://localhost/lordofinsomnia/blog.git
Cloning into 'blog'...
fatal: unable to access 'http://localhost/lordofinsomnia/blog.git/': Failed to connect to localhost port 80: Connection refused
With git protocol I am assked for password, which I don't know.
git clone git@localhost:lordofinsomnia/blog.git
Cloning into 'blog'...
git@localhost's password:
Thanks in advance.
Last edited by LordOfInsomnia (2015-04-21 10:50:45)
Offline
First problem is you are trying to use privileged ports (80 and 22) as a user and not as root. If you change the ports to "10080:10080" and "10022:10022", then you can access the website at http://localhost:10080.
Problem 2 is getting email working so when you sign up for an account, the confirmation email will actually get sent. Good luck with that
Scott
Offline
Sorry....bad information. You can still use port 80 and 22 because docker runs as root (<facepalm>). I didn't wait long enough for the web server to startup before trying to access the page.
I think you just need to figure out how to register a user. If that's not an issue, let me know and I can help test some more.
Scott
Offline
I found a problem for cloning, i missed a port in link.
git clone http://localhost:10080/lordofinsomnia/blog.git
Solved.
Activation was a problem, I had problem with enviroment variables. I will try it later today.
Thx.
Offline