diff --git a/gitlab/docker-compose.yml b/gitlab/docker-compose.yml new file mode 100644 index 0000000..6e3a5c1 --- /dev/null +++ b/gitlab/docker-compose.yml @@ -0,0 +1,18 @@ +version: 2 +services: + web: + image: 'gitlab/gitlab-ce:latest' + container_name: gitlab_ce + restart: always + hostname: 'gitlab.devops-lyon.eu' + environment: + GITLAB_OMNIBUS_CONFIG: | + external_url 'https://gitlab.devops-lyon.eu' + # Add any other gitlab.rb configuration here, each on its own line + ports: + - '80:80' + - '22:22' + volumes: + - 'gitlab_config:/etc/gitlab' + - 'gitlab_logs:/var/log/gitlab' + - 'gitlab_data:/var/opt/gitlab' \ No newline at end of file