forked from data.coop/ansible
Compare commits
1 commit
master
...
gitea-secu
Author | SHA1 | Date | |
---|---|---|---|
benjaoming | 39660b1bd4 |
|
@ -7,7 +7,7 @@
|
||||||
- name: gitea container
|
- name: gitea container
|
||||||
docker_container:
|
docker_container:
|
||||||
name: gitea
|
name: gitea
|
||||||
image: gitea/gitea:1.12.3
|
image: gitea/gitea:1.14.2
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
|
@ -21,3 +21,8 @@
|
||||||
VIRTUAL_PORT: "3000"
|
VIRTUAL_PORT: "3000"
|
||||||
LETSENCRYPT_HOST: "{{ gitea.domain }}"
|
LETSENCRYPT_HOST: "{{ gitea.domain }}"
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
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"
|
Loading…
Reference in a new issue