update
This commit is contained in:
parent
beda44b6bf
commit
096bd56579
9
.env
9
.env
@ -1,3 +1,6 @@
|
||||
SERVER_HOST=gitlab.zziyu.cn
|
||||
EXTERN_URL=https://gitlab.zziyu.cn
|
||||
GITLAB_HOME=/root/gitlab/data
|
||||
GITLAB_HOSTNAME=gitlab.zziyu.cn
|
||||
GITLAB_ROOT_PASSWORD=123456
|
||||
POSTGRES_PASSWORD=123456
|
||||
POSTGRES_USER=123456
|
||||
GITLAB_HOME=/root/gitlab/data
|
||||
# EXTERN_URL=https://gitlab.zziyu.cn
|
||||
|
@ -1,15 +1,20 @@
|
||||
version: '3.6'
|
||||
services:
|
||||
gitlab:
|
||||
image: gitlab/gitlab-ce:latest
|
||||
container_name: gitlab
|
||||
image: alpinelinux/gitlab:17.3
|
||||
container_name: minigitlab
|
||||
restart: always
|
||||
hostname: '$SERVER_HOST'
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
GITLAB_HOSTNAME:'$GITLAB_HOSTNAME'
|
||||
GITLAB_ROOT_PASSWORD:'$GITLAB_ROOT_PASSWORD'
|
||||
POSTGRES_PASSWORD:'$POSTGRES_PASSWORD'
|
||||
POSTGRES_USER:'$POSTGRES_USER'
|
||||
TZ :'Asia/Shanghai'
|
||||
# GITLAB_OMNIBUS_CONFIG: |
|
||||
# Add any other gitlab.rb configuration here, each on its own line
|
||||
external_url '$EXTERN_URL'
|
||||
TZ : "Asia/Shanghai"
|
||||
# external_url '$EXTERN_URL'
|
||||
|
||||
ports:
|
||||
- '3080:80'
|
||||
- '3443:443'
|
||||
|
Loading…
Reference in New Issue
Block a user