Last active
July 3, 2016 01:10
-
-
Save jrolfs/35cd573984030fe8ddafa42a65a42f92 to your computer and use it in GitHub Desktop.
Docker Compose configuration for my Mac Mini π
This file contains hidden or 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: '2' | |
| services: | |
| nginx: | |
| container_name: nginx | |
| image: jwilder/nginx-proxy | |
| restart: always | |
| ports: | |
| - 80:80 | |
| - 443:443 | |
| volumes: | |
| - $HOME/Docker/certificates:/etc/nginx/certs | |
| - /var/run/docker.sock:/tmp/docker.sock:ro | |
| gitlab: | |
| container_name: gitlab | |
| image: gitlab/gitlab-ce | |
| restart: always | |
| hostname: gitlab.rolfs.io | |
| environment: | |
| - VIRTUAL_HOST=gitlab.rolfs.io | |
| ports: | |
| - 23:22 | |
| volumes: | |
| - $HOME/Docker/gitlab/config:/etc/gitlab | |
| - $HOME/Docker/gitlab/logs:/var/log/gitlab | |
| - $HOME/Docker/gitlab/data:/var/opt/gitlab | |
| depends_on: | |
| - nginx | |
| gitlab-runner: | |
| container_name: gitlab-runner | |
| image: gitlab/gitlab-runner | |
| restart: always | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock | |
| - $HOME/Docker/gitlab-runner/config:/etc/gitlab-runner | |
| depends_on: | |
| - gitlab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment