Skip to content

Latest commit

 

History

History
109 lines (77 loc) · 3.35 KB

README.md

File metadata and controls

109 lines (77 loc) · 3.35 KB

GitLab in a Docker on Steroids

Build
GitHub Open Issues FOSSA Status

Stars Fork

Docker build

Felling like supporting me in my projects use donate button. Thank You!

Docker Image with GitLab Server. It's build the same way offcial images but with this image we added missing options into the docker image and will keep adding more features when requested by users.

Options added so far:

  • Backup Time (crontab based)
    *see environmental variables*

If you have an idea what should be added please let us know

More versions available through tags

Environmental Variable

Variable Description
BACKUP_TIME Default set to: 0 12 * * * 1

1 - Cron based format.

All options available through official image are available too. GitLab Docs

Usage

docker run \
    -d \
    --name gitlab \
    -p 80:80 \
    -p 443:443 \
    -p 1022:22 \
    polinux/gitlab-ce

Set backup time to 15:00

docker run \
    -d \
    --name gitlab \
    -p 80:80 \
    -p 443:443 \
    -p 1022:22 \
    -e BACKUP_TIME="0 15 * * *" \
    polinux/gitlab-ce

Use docker-compose.yml file which contain basic setup of gitlab server with stand alone approach.

docker-compose up

Build

docker build -t polinux/gitlab-ce .

Docker troubleshooting

Use docker command to see if all required containers are up and running:

$ docker ps

Check logs of gitlab server container:

$ docker logs gitlab

Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through _docker's exec_ command:

docker exec -ti gitlab /bin/bash

History of an image and size of layers:

docker history --no-trunc=true polinux/gitlab-ce | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'

Author

Przemyslaw Ozgo ([email protected])


Acknowledgements

I would like to thank JetBrains for supporting me with Open Source endeavours.

License

FOSSA Status