appstore-1panel/apps/gitlab/versions/15.8.3/docker-compose.yml
2023-03-30 14:26:29 +08:00

29 lines
691 B
YAML

version: '3'
services:
gitlab:
image: 'gitlab/gitlab-ce:15.8.3-ce.0'
container_name: ${CONTAINER_NAME}
restart: always
hostname: ${GITLAB_HOSTNAME}
environment:
TZ: 'Asia/Shanghai'
GITLAB_OMNIBUS_CONFIG: |
external_url 'http://${GITLAB_HOSTNAME}:${PANEL_APP_PORT_HTTP}'
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
- ${PANEL_APP_PORT_HTTPS}:443
- ${JENKINS_SSH_PORT}:22
volumes:
- ./config:/etc/gitlab
- ./logs:/var/log/gitlab
- ./data:/var/opt/gitlab
shm_size: '256m'
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true