This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
git.autonomic.zone/deploy.d/config.yml

65 lines
1.7 KiB
YAML
Raw Normal View History

2020-04-14 15:38:57 +00:00
---
vars:
port: "3020"
domain: "git.autonomic.zone"
volumes:
- type: directory
src: /var/lib/git
dest: /data
- type: directory
src: /var/lib/gitea/.ssh
dest: /data/git/.ssh
- type: directory
src: /etc/timezone
dest: /etc/timezone
mode: ro
- type: directory
src: /etc/localtime
dest: /etc/localtime
mode: ro
db:
- type: "mariadb"
2020-04-15 09:46:46 +00:00
passwd: "{{ vault.db_passwd }}"
2020-04-14 15:38:57 +00:00
root_passwd: "{{ vault.root_passwd }}"
env:
ADMIN_MAIL: "helo@autonomic.zone"
ADMIN_PASS: "{{ vault.autonomic_admin_pass }}"
ADMIN_USER: "{{ vault.autonomic_admin_user }}"
ALLOW_ONLY_EXTERNAL_REGISTRATION: "true"
APP_NAME: "Gitea: Git with solidaritea"
AUTHOR: "Gitea: Git with solidaritea"
DB_HOST: "{{ dokku.mariadb_addr }}"
DB_NAME: "gitea"
DB_PASSWD: "{{ vault.db_passwd }}"
DB_TYPE: "mysql"
DB_USER: "{{ dokku.mariadb_user }}"
DESCRIPTION: "Git hosting for conrads"
DISABLE_REGISTRATION: "false"
DOKKU_LETSENCRYPT_EMAIL: "helo@autonomic.zone"
DOMAIN: "{{ vars.domain }}"
ENABLE_OPENID_SIGNIN: "true"
ENABLE_OPENID_SIGNUP: "true"
GITEA_THEME: "arc-green"
HTTP_PORT: "{{ vars.port }}"
INSTALL_LOCK: "true"
JWT_SECRET: "{{ vault.jwt_secret }}"
MAILER_ENABLED: "true"
RUN_MODE: "prod"
SECRET_KEY: "{{ vault.secret_key }}"
SMTP_FROM: "{{ vault.smtp_from }}"
SMTP_HOST: "{{ vault.smtp_host }}"
SMTP_MAILER_TYPE: "smtp"
SMTP_PASSWD: "{{ vault.smtp_passwd }}"
SMTP_TLS_ENABLED: "true"
SMTP_USER: "{{ vault.smtp_user }}"
SSH_DOMAIN: "{{ vars.domain }}"
SSH_LISTEN_PORT: "2222"
SSH_PORT: "222"
STARTUP_TIMEOUT: "0"
USER_GID: "{{ vars.git_user_guid }}"
USER_UID: "{{ vars.git_user_uid }}"
WHITELIST_URIS: "https://{{ vars.domain }}"