postgresql start fail
logs:
initdb: directory "/var/lib/postgresql/data" exists but is not empty
It contains a dot-prefixed/invisible file, perhaps due to it being a mount point.
Using a mount point directly as the data directory is not recommended.
Create a subdirectory under the mount point.
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
initdb: directory "/var/lib/postgresql/data" exists but is not empty
It contains a dot-prefixed/invisible file, perhaps due to it being a mount point.
Using a mount point directly as the data directory is not recommended.
Create a subdirectory under the mount point.
when i remove volumes/postgres/.gitkeep,it work
Did you figure this out? I'm getting lots of different errors when building this - and they don't seem to be solved anywhere. Even more frustrating, none of the gitlab threads with the same errors have solutions... This seems really messy.
You can remove volumes/*.
I've given up on GitLab... They don't even have version numbers for docker-compose in their documentation... And they run chef in docker... It all just doesn't feel professional.
Actually not :). They are not using chef for this. https://hub.docker.com/r/gitlab/gitlab-ce/dockerfile/ In docker compose file you can specify the tag name with the version you want. All versions available: https://hub.docker.com/r/gitlab/gitlab-ce/tags And yes, using another tool to deploy in docker does not seems to be a professional way.