forgejo: enable auto registration for oauth2
This commit is contained in:
parent
4b34370d5d
commit
2618c1c414
|
@ -26,25 +26,27 @@
|
|||
value: '{{ item.value }}'
|
||||
loop:
|
||||
- { option: APP_NAME, value: 'FRI git' }
|
||||
- { section: security, option: INSTALL_LOCK, value: true }
|
||||
- { section: cron.update_checker, option: ENABLED, value: false }
|
||||
- { section: database, option: SQLITE_JOURNAL_MODE, value: WAL }
|
||||
- { section: lfs, option: PATH, value: /var/lib/forgejo/data/lfs }
|
||||
- { section: log, option: ROOT_PATH, value: /var/lib/forgejo/log }
|
||||
- { section: server, option: PROTOCOL, value: http+unix }
|
||||
- { section: server, option: HTTP_ADDR, value: socket }
|
||||
- { section: server, option: UNIX_SOCKET_PERMISSION, value: 660 }
|
||||
- { section: server, option: ROOT_URL, value: 'https://{{ dns_name }}/' }
|
||||
- { section: server, option: LFS_START_SERVER, value: true }
|
||||
- { section: oauth2_client, option: ENABLE_AUTO_REGISTRATION, value: true }
|
||||
- { section: oauth2_client, option: USERNAME, value: email }
|
||||
- { section: service, option: ALLOW_ONLY_EXTERNAL_REGISTRATION, value: true }
|
||||
- { section: service, option: DEFAULT_USER_VISIBILITY, value: private }
|
||||
- { section: service.explore, option: DEFAULT_USERS_PAGE, value: private }
|
||||
- { section: database, option: SQLITE_JOURNAL_MODE, value: WAL }
|
||||
- { section: log, option: ROOT_PATH, value: /var/lib/forgejo/log }
|
||||
- { section: server, option: ROOT_URL, value: 'https://{{ dns_name }}/' }
|
||||
- { section: server, option: PROTOCOL, value: http+unix }
|
||||
- { section: server, option: HTTP_ADDR, value: socket }
|
||||
- { section: server, option: UNIX_SOCKET_PERMISSION, value: 660 }
|
||||
- { section: server, option: LFS_START_SERVER, value: true }
|
||||
- { section: lfs, option: PATH, value: /var/lib/forgejo/data/lfs }
|
||||
- { section: repository, option: DEFAULT_BRANCH, value: master }
|
||||
- { section: repository, option: ENABLE_PUSH_CREATE_ORG, value: true }
|
||||
- { section: repository, option: ENABLE_PUSH_CREATE_USER, value: true }
|
||||
- { section: ui, option: AMBIGUOUS_UNICODE_DETECTION, value: false }
|
||||
- { section: other, option: SHOW_FOOTER_VERSION, value: false }
|
||||
- { section: other, option: SHOW_FOOTER_TEMPLATE_LOAD_TIME, value: false }
|
||||
- { section: cron.update_checker, option: ENABLED, value: false }
|
||||
- { section: security, option: INSTALL_LOCK, value: true }
|
||||
notify: restart forgejo
|
||||
|
||||
- name: Enable forgejo service
|
||||
|
|
Loading…
Reference in a new issue