Compare commits

...

1 Commits

Author SHA1 Message Date
benjaoming 39660b1bd4 Upgrade Gitea + add security and password policy customization
I need someone with a functional Docker setup to help test this :)

Tip from a new user that we are requiring stupid password stuff

https://www.bbc.com/news/technology-40875534
2021-05-31 10:02:53 +00:00
1 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@
- name: gitea container
docker_container:
name: gitea
image: gitea/gitea:1.12.3
image: gitea/gitea:1.14.2
restart_policy: unless-stopped
networks:
- name: gitea
@ -21,3 +21,8 @@
VIRTUAL_PORT: "3000"
LETSENCRYPT_HOST: "{{ gitea.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
# Gitea customization, see: https://docs.gitea.io/en-us/install-with-docker/#customization
# https://docs.gitea.io/en-us/config-cheat-sheet/#security-security
GITEA__security__PASSWORD_COMPLEXITY: "off"
GITEA__security__MIN_PASSWORD_LENGTH: "8"
GITEA__security__PASSWORD_CHECK_PWN: "true"