2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-06 12:03:58 +08:00
Files
templates/gitlab/docker-compose.yml
renovate[bot] fff770945e chore(deps): update gitlab/gitlab-ce docker tag to v18.8.3 (#29)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-04 17:44:01 +00:00

28 lines
667 B
YAML

services:
gitlab:
image: gitlab/gitlab-ce:18.8.3-ce.0
networks:
- acepanel-network
cap_add:
- NET_ADMIN
restart: unless-stopped
ports:
- "${GITLAB_PORT_HTTP}:80"
- "${GITLAB_PORT_SSH}:22"
environment:
TZ: ${GITLAB_TIME_ZONE}
volumes:
- "./data/config:/etc/gitlab"
- "./data/logs:/var/log/gitlab"
- "./data/data:/var/opt/gitlab"
shm_size: ${GITLAB_SHM_SIZE}
healthcheck:
test: [ "CMD-SHELL", "curl -fsSL http://localhost:80/-/health || exit 1" ]
interval: 60s
timeout: 30s
retries: 5
start_period: 300s
networks:
acepanel-network:
external: true