Try to change default Gitea port
This commit is contained in:
parent
86814f4ddc
commit
f97a11eb76
@ -1,6 +1,6 @@
|
||||
FROM gitea/gitea:1.11.3
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 3020
|
||||
EXPOSE 2222
|
||||
|
||||
COPY . ${WORKDIR}
|
||||
|
@ -12,7 +12,7 @@
|
||||
dokku_ports:
|
||||
app: gitea
|
||||
mappings:
|
||||
- "http:80:3000"
|
||||
- "http:80:{{ http_port }}"
|
||||
state: present
|
||||
|
||||
- name: Setup LE certificates
|
||||
@ -37,7 +37,7 @@
|
||||
dokku_ports:
|
||||
app: gitea
|
||||
mappings:
|
||||
- "https:443:3000"
|
||||
- "https:443:{{ http_port }}"
|
||||
state: present
|
||||
|
||||
- name: Ensure jq package is installed
|
||||
|
@ -9,6 +9,7 @@ disable_registration: "true"
|
||||
domain: "git.autonomic.zone"
|
||||
enable_openid_signin: "true"
|
||||
enable_openid_signup: "true"
|
||||
http_port: "3020"
|
||||
install_lock: "true"
|
||||
ssh_domain: "git.autonomic.zone"
|
||||
ssh_listen_port: "2222"
|
||||
|
@ -62,7 +62,7 @@ setup_app_ini() {
|
||||
crudini --set "$app_ini" server DOMAIN "${DOMAIN}"
|
||||
crudini --set "$app_ini" server ROOT_URL "https://%(DOMAIN)s/"
|
||||
crudini --set "$app_ini" server HTTP_ADDR ""
|
||||
crudini --set "$app_ini" server HTTP_PORT "3000"
|
||||
crudini --set "$app_ini" server HTTP_PORT "${HTTP_PORT}"
|
||||
crudini --set "$app_ini" server SSH_DOMAIN "${SSH_DOMAIN}"
|
||||
crudini --set "$app_ini" server SSH_PORT "${SSH_PORT}"
|
||||
crudini --set "$app_ini" server SSH_LISTEN_PORT "${SSH_LISTEN_PORT}"
|
||||
|
Reference in New Issue
Block a user