Bump Gitea, fix bad usage of environment
Effectively disabling self registrationsmaster
parent
68257a9f01
commit
268262426c
|
@ -3,7 +3,7 @@
|
||||||
# No cows because I am not a funny person
|
# No cows because I am not a funny person
|
||||||
nocows = 1
|
nocows = 1
|
||||||
force_color = True
|
force_color = True
|
||||||
stdout_callback = unixy
|
#stdout_callback = unixy
|
||||||
|
|
||||||
# Default inventory file, override with -i
|
# Default inventory file, override with -i
|
||||||
inventory = ./inv/static.yml
|
inventory = ./inv/static.yml
|
||||||
|
|
|
@ -19,17 +19,18 @@ services:
|
||||||
environment:
|
environment:
|
||||||
USER_UID: 1000
|
USER_UID: 1000
|
||||||
USER_GID: 1000
|
USER_GID: 1000
|
||||||
DB_TYPE: postgres
|
# See https://docs.gitea.com/installation/install-with-docker#managing-deployments-with-environment-variables
|
||||||
DB_HOST: db:5432
|
GITEA__database__DB_TYPE: postgres
|
||||||
APP_NAME: {{ gitea_name }}
|
GITEA__database__DB_HOST: db:5432
|
||||||
RUN_MODE: prod
|
GITEA__database__NAME: gitea
|
||||||
DOMAIN: {{ gitea_subdomain }}.{{ domain_name }}
|
GITEA__database__USER: gitea
|
||||||
SSH_DOMAIN: {{ gitea_subdomain }}.{{ domain_name }}
|
GITEA__database__PASSWD: "{{ gitea_db_password }}"
|
||||||
ROOT_URL: https://{{ gitea_subdomain }}.{{ domain_name }}
|
GITEA__DEFAULT__APP_NAME: {{ gitea_name }}
|
||||||
DISABLE_REGISTRATION: "true"
|
GITEA__DEFAULT__RUN_MODE: prod
|
||||||
DB_NAME: gitea
|
GITEA__server__DOMAIN: {{ gitea_subdomain }}.{{ domain_name }}
|
||||||
DB_USER: gitea
|
GITEA__server__SSH_DOMAIN: {{ gitea_subdomain }}.{{ domain_name }}
|
||||||
DB_PASSWD: "{{ gitea_db_password }}"
|
GITEA__server__ROOT_URL: https://{{ gitea_subdomain }}.{{ domain_name }}
|
||||||
|
GITEA__service__DISABLE_REGISTRATION: "true"
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- db
|
- db
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
gitea_version: "1.14.1"
|
gitea_version: "1.20"
|
||||||
gitea_folder_name: "{{ docker_files }}/gitea"
|
gitea_folder_name: "{{ docker_files }}/gitea"
|
||||||
postgres_version: "13"
|
postgres_version: "13"
|
||||||
gitea_name: Chostea
|
gitea_name: Chostea
|
||||||
|
|
Loading…
Reference in New Issue