sameersbn / sameersbn/docker-gitlab
please help me so that my yml file works with no error
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
version: "2"
services:
redis:
restart: unless-stopped
container_name: test_redis
image: redis:6.2
command:
- --loglevel warning
volumes:
- ./git_files/gitlab/redis:/data:Z
networks:
- net1
- net2
postgresql:
restart: unless-stopped
container_name: test_postgresql
image: sameersbn/postgresql:12-20200524
volumes:
- ./git_files/gitlab/postgresql:/var/lib/postgresql:Z
environment:
- DB_USER=gitlabu
- DB_PASS=4gituser
- DB_NAME=gitlabhq_production
- DB_EXTENSION=pg_trgm,btree_gist
networks:
- net1
- net2
gitlab:
restart: unless-stopped
container_name: test_gitlab
image: sameersbn/gitlab:14.1.1
depends_on:
- redis
- postgresql
ports:
- "10083:80"
- "10023:22"
volumes:
- ./git_files/gitlab/gitlab:/home/git/data:Z
healthcheck:
test: ["CMD", "/usr/local/sbin/healthcheck"]
interval: 5m
timeout: 10s
retries: 3
start_period: 5m
environment:
- DEBUG=false
- DB_ADAPTER=postgresql
- DB_HOST=postgresql
- DB_PORT=5432
- DB_USER=gitlabu
- DB_PASS=pass
- DB_NAME=gitlabhq_production
- REDIS_HOST=redis
- REDIS_PORT=6379
- TZ=Eastern/Africa
- GITLAB_TIMEZONE=Eastern/Africa
- GITLAB_HTTPS=true
- SSL_SELF_SIGNED=true
- GITLAB_HOST=example.com
- - GITLAB_PORT=10080
- GITLAB_SSH_PORT=10022
- GITLAB_SECRETS_DB_KEY_BASE=LvqCsjgNzuIuvbHDp8uCWAIkaeDDh6fwzfGXe35xMB2xIIPwtgFySK0klhL6WhEq
- GITLAB_SECRETS_SECRET_KEY_BASE=4yUYr0it1j9Szd6U5iUC4eEOUYEBzb0DiI0Go40F0cXp6Jdl5OVUAl7i64RuCUkA
- GITLAB_SECRETS_OTP_KEY_BASE=eunP8I8jsoitVx14nJp0BRcicHLMDk6zrqESHmYPkeaTLIOaUqP8ZEO8axZf3nqh
- GITLAB_ROOT_PASSWORD=pass
- GITLAB_ROOT_EMAIL=email@gmail.com
- VIRTUAL_HOST=example.com
- VIRTUAL_NETWORK=net1
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=example.com
- LETSENCRYPT_EMAIL=email@gmail.com
networks:
- net1
- net2
networks:
net1:
external:
name: net1
net2:
external:
name: net2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by validating the provided YAML as a Docker Compose configuration and inspect the exact parser or startup error. Review the service environment entries and network definitions shown in the issue. Done means the configuration validates and the listed Redis, PostgreSQL, and GitLab services start without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100