Last active
February 7, 2024 11:00
-
-
Save mag1art/5d426c0e1886d6707adc4566507700b6 to your computer and use it in GitHub Desktop.
Docker compose with GitLab CE and runner for Orange pi 5 aarch64 (arm64)
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
# docker-compose.yml | |
version: '3.7' | |
services: | |
web: | |
image: 'yrzr/gitlab-ce-arm64v8:latest' | |
restart: always | |
hostname: 'localhost' | |
container_name: gitlab-ce | |
environment: | |
GITLAB_OMNIBUS_CONFIG: | | |
external_url 'http://localhost' | |
GITLAB_ROOT_PASSWORD: "YourPasswordHere" | |
ports: | |
- '30080:80' | |
- '30443:443' | |
- '30022:22' | |
volumes: | |
- '$GITLAB_HOME/config:/etc/gitlab' | |
- '$GITLAB_HOME/logs:/var/log/gitlab' | |
- '$GITLAB_HOME/data:/var/opt/gitlab' | |
networks: | |
- gitlab | |
gitlab-runner: | |
image: gitlab/gitlab-runner:alpine | |
container_name: gitlab-runner | |
restart: always | |
depends_on: | |
- web | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- '$GITLAB_HOME/gitlab-runner:/etc/gitlab-runner' | |
networks: | |
- gitlab | |
networks: | |
gitlab: | |
name: gitlab-network |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment