August 2019
Beginner
608 pages
16h 7m
English
Docker Compose is used to run multiple containers as a single service. By using this tool, you can easily manage your Docker-based GitLab installation. It can be used to configure, install, and upgrade the service. It is Python-based and can be installed from https://docs.docker.com/compose/install/.
If you have installed Docker Compose, or already have it on your system, you can build your service.
Create a docker-compose.yml file (or download an example):
web: image: 'gitlab/gitlab-ce:latest' restart: always hostname: 'gitlab.joustie.nl' environment: GITLAB_OMNIBUS_CONFIG: | external_url 'https://gitlab.joustie.nl' ports: - '80:8080' - '443:4443' - '22:2222' volumes: - '/srv/gitlab/config:/etc/gitlab' ...
Read now
Unlock full access