Don't template manually since we can override
This commit is contained in:
parent
b062e66271
commit
82ac9df7e3
@ -55,26 +55,7 @@
|
||||
owner: dokku
|
||||
group: dokku
|
||||
with_items:
|
||||
- /var/lib/gitea/gitea/
|
||||
- /var/lib/gitea/gitea/conf
|
||||
become: true
|
||||
|
||||
- name: Copy over app.ini gitea configuration
|
||||
vars:
|
||||
DISABLE_REGISTRATION: "true"
|
||||
ENABLE_OPENID_SIGNIN: "true"
|
||||
ENABLE_OPENID_SIGNUP: "false"
|
||||
INTERNAL_TOKEN: "{{ internal_token }}"
|
||||
JWT_SECRET: "{{ jwt_secret }}"
|
||||
REQUIRE_SIGNIN_VIEW: "false"
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION: "true"
|
||||
RUN_MODE: "prod"
|
||||
SECRET_KEY: "{{ secret_key }}"
|
||||
template:
|
||||
src: app.ini.j2
|
||||
dest: /var/lib/gitea/gitea/conf/app.ini
|
||||
owner: dokku
|
||||
group: dokku
|
||||
- /var/lib/gitea
|
||||
become: true
|
||||
|
||||
- name: Specify docker volume mounts
|
||||
|
@ -1,59 +0,0 @@
|
||||
APP_NAME = Gitea: Git with a cup of tea
|
||||
RUN_MODE = {{ RUN_MODE }}
|
||||
|
||||
[repository]
|
||||
ROOT = /data/git/repositories
|
||||
|
||||
[repository.local]
|
||||
LOCAL_COPY_PATH = /data/gitea/tmp/local-repo
|
||||
|
||||
[repository.upload]
|
||||
TEMP_PATH = /data/gitea/uploads
|
||||
|
||||
[server]
|
||||
APP_DATA_PATH = /data/gitea
|
||||
SSH_DOMAIN = localhost
|
||||
HTTP_PORT = 3000
|
||||
ROOT_URL =
|
||||
DISABLE_SSH = false
|
||||
SSH_PORT = 22
|
||||
SSH_LISTEN_PORT = 22
|
||||
LFS_START_SERVER = false
|
||||
LFS_CONTENT_PATH = /data/git/lfs
|
||||
|
||||
[database]
|
||||
PATH = /data/gitea/gitea.db
|
||||
DB_TYPE = sqlite3
|
||||
|
||||
[indexer]
|
||||
ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve
|
||||
|
||||
[session]
|
||||
PROVIDER_CONFIG = /data/gitea/sessions
|
||||
|
||||
[picture]
|
||||
AVATAR_UPLOAD_PATH = /data/gitea/avatars
|
||||
REPOSITORY_AVATAR_UPLOAD_PATH = /data/gitea/repo-avatars
|
||||
|
||||
[attachment]
|
||||
PATH = /data/gitea/attachments
|
||||
|
||||
[log]
|
||||
ROOT_PATH = /data/gitea/log
|
||||
|
||||
[security]
|
||||
INSTALL_LOCK = true
|
||||
SECRET_KEY = {{ SECRET_KEY }}
|
||||
INTERNAL_TOKEN = {{ INTERNAL_TOKEN }}
|
||||
|
||||
[service]
|
||||
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ ALLOW_ONLY_EXTERNAL_REGISTRATION }}
|
||||
DISABLE_REGISTRATION = {{ DISABLE_REGISTRATION }}
|
||||
REQUIRE_SIGNIN_VIEW = {{ REQUIRE_SIGNIN_VIEW }}
|
||||
|
||||
[oauth2]
|
||||
JWT_SECRET = {{ JWT_SECRET }}
|
||||
|
||||
[openid]
|
||||
ENABLE_OPENID_SIGNIN = {{ ENABLE_OPENID_SIGNIN }}
|
||||
ENABLE_OPENID_SIGNUP = {{ ENABLE_OPENID_SIGNUP }}
|
Reference in New Issue
Block a user