Fix quotes once more and user perms
This commit is contained in:
parent
4fa011be5a
commit
9cc54967c1
@ -53,14 +53,14 @@
|
|||||||
|
|
||||||
- name: Copy over app.ini gitea configuration
|
- name: Copy over app.ini gitea configuration
|
||||||
vars:
|
vars:
|
||||||
DISABLE_REGISTRATION: true
|
DISABLE_REGISTRATION: "true"
|
||||||
ENABLE_OPENID_SIGNIN: true
|
ENABLE_OPENID_SIGNIN: "true"
|
||||||
ENABLE_OPENID_SIGNUP: false
|
ENABLE_OPENID_SIGNUP: "false"
|
||||||
INTERNAL_TOKEN: "{{ internal_token }}"
|
INTERNAL_TOKEN: "{{ internal_token }}"
|
||||||
JWT_SECRET: "{{ jwt_secret }}"
|
JWT_SECRET: "{{ jwt_secret }}"
|
||||||
REQUIRE_SIGNIN_VIEW: false
|
REQUIRE_SIGNIN_VIEW: "false"
|
||||||
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
|
ALLOW_ONLY_EXTERNAL_REGISTRATION: "true"
|
||||||
RUN_MODE: prod
|
RUN_MODE: "prod"
|
||||||
SECRET_KEY: "{{ secret_key }}"
|
SECRET_KEY: "{{ secret_key }}"
|
||||||
template:
|
template:
|
||||||
src: app.ini.j2
|
src: app.ini.j2
|
||||||
@ -77,8 +77,6 @@
|
|||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /var/lib/dokku/services/mariadb/gitea:/var/lib/mysql
|
- /var/lib/dokku/services/mariadb/gitea:/var/lib/mysql
|
||||||
become: true
|
|
||||||
become_user: dokku
|
|
||||||
|
|
||||||
- name: Store gitea git user uid/guid
|
- name: Store gitea git user uid/guid
|
||||||
set_fact:
|
set_fact:
|
||||||
@ -101,16 +99,14 @@
|
|||||||
ADMIN_MAIL: "{{ autonomic_admin_mail }}"
|
ADMIN_MAIL: "{{ autonomic_admin_mail }}"
|
||||||
ADMIN_PASS: "{{ autonomic_admin_pass }}"
|
ADMIN_PASS: "{{ autonomic_admin_pass }}"
|
||||||
ADMIN_USER: "{{ autonomic_admin_user }}"
|
ADMIN_USER: "{{ autonomic_admin_user }}"
|
||||||
DB_TYPE: mysql
|
DB_TYPE: "mysql"
|
||||||
DB_HOST: "dokku-mariadb-gitea:3306"
|
DB_HOST: "dokku-mariadb-gitea:3306"
|
||||||
DB_NAME: gitea
|
DB_NAME: "gitea"
|
||||||
DB_USER: mariadb # https://github.com/dokku/dokku-mariadb/issues/89
|
DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89
|
||||||
DB_PASSWD: "{{ db_passwd }}"
|
DB_PASSWD: "{{ db_passwd }}"
|
||||||
DISABLE_REGISTRATION: true
|
DISABLE_REGISTRATION: true
|
||||||
DOMAIN: git.autonomic.zone
|
DOMAIN: "git.autonomic.zone"
|
||||||
INSTALL_LOCK: true
|
INSTALL_LOCK: true
|
||||||
RUN_MODE: prod
|
RUN_MODE: "prod"
|
||||||
USER_GID: "{{ gitea_user_guid }}"
|
USER_GID: "{{ gitea_user_guid }}"
|
||||||
USER_UID: "{{ gitea_user_uid }}"
|
USER_UID: "{{ gitea_user_uid }}"
|
||||||
become: true
|
|
||||||
become_user: dokku
|
|
||||||
|
Reference in New Issue
Block a user