mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add emby and gitlab
This commit is contained in:
parent
9b031c14b6
commit
409828214b
13 changed files with 1743 additions and 3 deletions
34
roles/gitlab-docker/files/gitlab/docker-compose.yml
Normal file
34
roles/gitlab-docker/files/gitlab/docker-compose.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
version: '2.2'
|
||||
|
||||
networks:
|
||||
proxy-tier:
|
||||
external:
|
||||
name: nginx-proxy
|
||||
|
||||
services:
|
||||
gitlab:
|
||||
image: 'gitlab/gitlab-ce:latest'
|
||||
hostname: ${GITLAB_DOMAIN}
|
||||
environment:
|
||||
- VIRTUAL_HOST=${GITLAB_DOMAIN}
|
||||
- VIRTUAL_NETWORK=nginx-proxy
|
||||
- VIRTUAL_PORT=9090
|
||||
ports:
|
||||
- "2224:22"
|
||||
expose:
|
||||
- 9090
|
||||
volumes:
|
||||
- ./config:/etc/gitlab
|
||||
- /var/log/gitlab:/var/log/gitlab
|
||||
- /var/lib/gitlab:/var/opt/gitlab
|
||||
- /backups/gitlab:/var/opt/gitlab/backups
|
||||
networks:
|
||||
- proxy-tier
|
||||
restart: always
|
||||
|
||||
runner:
|
||||
image: 'gitlab/gitlab-runner:latest'
|
||||
volumes:
|
||||
- ./runner-config:/etc/gitlab-runner
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
restart: always
|
||||
Loading…
Add table
Add a link
Reference in a new issue