-
-
Save tainguyenbp/e2e0db8db5cb95ea7dd1e6ee551c12ce to your computer and use it in GitHub Desktop.
gitlab-ce/gitlab-runner docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
services: | |
gitlab-ce: | |
image: 'gitlab/gitlab-ce:latest' | |
restart: always | |
hostname: 'rafaelsoares.ddns.net' | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://rafaelsoares.ddns.net:9080' | |
gitlab_rails['gitlab_shell_ssh_port'] = 2222 | |
ports: | |
- '9080:9080' | |
- '2222:22' | |
volumes: | |
- '/home/docker/srv/gitlab-ce/config:/etc/gitlab' | |
- '/home/docker/srv/gitlab-ce/logs:/var/log/gitlab' | |
- '/home/docker/srv/gitlab-ce/data:/var/opt/gitlab' | |
gitlab-runner: | |
image: 'gitlab/gitlab-runner:latest' | |
restart: always | |
volumes: | |
- '/home/docker/srv/gitlab-runner/config:/etc/gitlab-runner' | |
- '/var/run/docker.sock:/var/run/docker.sock' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment