We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to run docker-gitlab using docker-compose, following is my docker-compose.yml
redis: image: sameersbn/redis:latest container_name: gitlab-redis restart: always volumes: - /data/gitlab/redis:/var/lib/redis gitlab: image: sameersbn/gitlab:latest container_name: gitlab restart: always links: - gitlab-redis:redisio ports: - "80:80" - "10022:22" hostname: gitlab.example.com environment: - GITLAB_HOST=gitlab.example.com - GITLAB_PORT=80 - GITLAB_SSH_PORT=10022 - GITLAB_SECRETS_DB_KEY_BASE=xxx - GITLAB_SECRETS_SECRET_KEY_BASE=xxx - GITLAB_SECRETS_OTP_KEY_BASE=xxx - DB_ADAPTER=mysql2 - DB_HOST=172.18.0.1 - DB_NAME=gitlabhq_production - DB_USER=gitlab - DB_PASS=xxx volumes: - /data/gitlab:/home/git/data
When I ran docker-compose up -d, it gave this error message ERROR: Service 'gitlab' has a link to service 'gitlab-redis:redisio' which is undefined.
docker-compose up -d
ERROR: Service 'gitlab' has a link to service 'gitlab-redis:redisio' which is undefined.
What's wrong?
The text was updated successfully, but these errors were encountered:
you named redis for your Redis container but refer it as redisio at - gitlab-redis:redisio
redis
- gitlab-redis:redisio
plz don't just copy paste a config file, read the doc before using.
Sorry, something went wrong.
@jostyee Thanks, you're right. That's my fault, I thought it'll link to container_name.
container_name
No branches or pull requests
I tried to run docker-gitlab using docker-compose, following is my docker-compose.yml
When I ran
docker-compose up -d
, it gave this error messageERROR: Service 'gitlab' has a link to service 'gitlab-redis:redisio' which is undefined.
What's wrong?
The text was updated successfully, but these errors were encountered: