portainer_templates/Template/Stack/gitlab.yml

22 lines
595 B
YAML
Raw Permalink Normal View History

2021-02-27 14:48:51 +01:00
---
2021-02-27 14:13:02 +01:00
version: "3.6"
services:
gitlab:
image: gitlab/gitlab-ce:latest
hostname: ${DOMAIN}
ports:
- "${GITLABSSHPORT}:22"
- "${GITLABPORT80}:80"
- "${GITLABPORT443}:443"
volumes:
- "${APPDATA}/gitlab/data:/var/opt/gitlab"
- "${APPDATA}/gitlab/logs:/var/log/gitlab"
- "${APPDATA}/gitlab/config:/etc/gitlab"
2021-02-27 14:48:51 +01:00
restart: unless-stopped
2021-02-27 14:13:02 +01:00
gitlab-runner:
image: gitlab/gitlab-runner:alpine
volumes:
- "${APPDATA}/gitlab/config-runner:/etc/gitlab-runner"
- "/var/run/docker.sock:/var/run/docker.sock"
2021-02-27 14:48:51 +01:00
restart: unless-stopped