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