Open bruce-wayne-tw opened 2 months ago
DB_HOST
setting seems to be not set for gitlab
service.
ERROR: Please configure the database connection. Refer http://git.io/wkYhyA for more information. Cannot continue without a database. Aborting...
Even you set them to postgresql
service and link it to gitlab
service, you have to specify corresponding settings to gitlab
service too. Description in README is stale a bit..
services:
gitlab:
environment:
- DEBUG: true
# db settings to be added
- DB_HOST: postgresql
- DB_NAME: gitlabhq_production
- DB_USER: gitlab
- DB_PASS: password
# optional: because default value `5432` will be used and you are not changing it on postgresql side
# - DB_PORT: 5432
the following is my config: