mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
29 lines
691 B
YAML
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
|