GitLab: web based Git repository manager, similar to GitHub, but open source
6.6K
ARM-HF architecture
Dockerfile links
Features and design principles:
data and repositiories paths - the latter should be shareable accross multiple instances load-balanced instances.Some features are removed for sake of simplicity and easier configuration / dependency management:
Start it like:
docker run -it -p 80:80 -p 22:22\
--link=gitlab-redis:redis\
--link=gitlab-postgres:postgres\
-v /some/data-dir:/home/git/data\
-e GITLAB_HOST=gitlab.example.com\
-e [email protected]\
-e SMTP_HOST=smtp.gmail.com\
-e SMTP_PASSWORD=soomepassword\
zsoltm/gitlab-armhf
It expects a Redis and a PostgreSQL container being linked named as "gitlab-redis" and "gitlab-postgresql"
respectively. Optionally external Postrges instance could be specified with DB_* environment variables
and / or Redis by REDIS_HOST and REDIS_TCP_PORT parameters.
A PostgreSQL DB container:
docker run -d --name gitlab-postgres\
-e POSTGRES_USER=git\
-e POSTGRES_PASSWORD=somepass\
zsoltm/postgresql-armhf
A Redis DB container:
docker run -d\
--name gitlab-redis\
-v `pwd`:/data\
zsoltm/redis-armhf
GITLAB_HOST -- gitlab host nameGITLAB_EMAIL_FROM -- email from addressSMTP_HOST -- mail server hostSMTP_PASSWORD -- mail server authentication passwordGITLAB_PORT -- http port of gitlab for https use 443 (80)DB_POOL -- number of pooled DB connections (10)GITLAB_HTTPS_ENABLED -- use https protocol in URLs when generating self-links, boolean (false)GITLAB_ROOT_PASSWORD -- initial root password (check env.sh for default)GITLAB_TIMEZONE -- (Europe/Zurich)GITLAB_EMAIL_DISPLAY_NAME -- email display name at from field (Gitlab)GITLAB_EMAIL_REPLY_TO -- reply-to address (GITLAB_EMAIL_FROM)GITLAB_REPO_ROOT -- gitlab repostory root - if yo'd like to move it out from data volumeUNICORN_WORKERS -- number of worker processes (CPU cores +1 is the recommended)UNICORN_TIMEOUT -- request timeout at unicorn, http level (60)SIDEKIQ_CONCURRENCY -- sidekiq is the background task executor, this value specifies how much task could be xecuted in parallel (5)DB_HOST -- Postgresql host if not linkedDB_PORT -- Postgresql port if not linked (5432)DB_USER -- Postgresql username for authenticationDB_PASS -- Postgresql password for authenticationDB_NAME -- databse nameREDIS_HOST -- Redis host if not linkedREDIS_TCP_PORT -- Redis port if not linked (6379)SMTP_PORT -- port for sending mail (587)SMTP_USER -- mail server authentication username (GITLAB_EMAIL_FROM)SMTP_DOMAIN -- domain name for authentication (domain part of GITLAB_EMAIL_FROM)SMTP_AUTH -- authentication mode for remote host (plain)SMTP_VERIFY -- SSL verification mode of remote mail host (none)~/gitlab/tmp/cache/... used by assets:precompile, production folder was created.This is based on official docker image but mostly the one by Sameer Naik.
Content type
Image
Digest
sha256:a732aab3c…
Size
167.5 MB
Last updated
over 11 years ago
docker pull zsoltm/gitlab-armhf