You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
952 B
34 lines
952 B
version: "3.7"
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: gitlab_gitlab_1
|
|
APP_PORT: 8929
|
|
PROXY_AUTH_ADD: "false"
|
|
|
|
gitlab:
|
|
image: zengxs/gitlab:17.5.1-ce.0@sha256:61cb4c79fe55de9dc94822d5a64a07ee40ff681d6282ab5733bc8e80479451ff
|
|
restart: on-failure
|
|
hostname: '${DEVICE_DOMAIN_NAME}:8929'
|
|
ulimits:
|
|
nofile:
|
|
soft: 4096
|
|
hard: 8192
|
|
environment:
|
|
PUID: 1000
|
|
PGID: 1000
|
|
GITLAB_OMNIBUS_CONFIG: |
|
|
# Add any other gitlab.rb configuration here, each on its own line
|
|
gitlab_rails['initial_root_password'] = '${APP_PASSWORD}'
|
|
gitlab_rails['gitlab_shell_ssh_port'] = 2424
|
|
nginx['listen_port'] = 8929
|
|
nginx['listen_https'] = false
|
|
ports:
|
|
- '2424:22'
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/config:/etc/gitlab
|
|
- ${APP_DATA_DIR}/data/logs:/var/log/gitlab
|
|
- ${APP_DATA_DIR}/data/data:/var/opt/gitlab
|
|
shm_size: '256m'
|