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
2020-04-15 16:52:52 +02:00

54 lines
1.5 KiB
YAML

---
vars:
port: "3020"
domain: "git.autonomic.zone"
ssh_listen_port: "2222"
volumes:
- /var/lib/gitea:/data
- /var/lib/gitea/git/.ssh:/data/git/.ssh
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
db:
- type: "mariadb"
passwd: "{{ vault.db_passwd }}"
root_passwd: "{{ vault.root_db_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: "gitea-autonomic@decentral1.se"
SMTP_HOST: "mail.gandi.net:587"
SMTP_MAILER_TYPE: "smtp"
SMTP_PASSWD: "{{ vault.smtp_passwd }}"
SMTP_TLS_ENABLED: "true"
SMTP_USER: "gitea-autonomic@decentral1.se"
SSH_DOMAIN: "{{ vars.domain }}"
SSH_LISTEN_PORT: "{{ vars.ssh_listen_port }}"
SSH_PORT: "222"
STARTUP_TIMEOUT: "0"
WHITELIST_URIS: "https://{{ vars.domain }}"