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

71 lines
1.8 KiB
YAML
Raw Normal View History

2020-04-14 15:38:57 +00:00
---
vars:
port: "3020"
domain: "git.autonomic.zone"
2020-04-15 11:39:46 +00:00
ssh_listen_port: "2222"
2020-04-14 15:38:57 +00:00
2020-04-15 12:07:27 +00:00
# TODO(decentral1se): fix handling
# volumes:
# - type: directory
# src: /var/lib/gitea
# dest: /data
# owner: git
# group: git
2020-04-15 11:30:00 +00:00
2020-04-15 12:07:27 +00:00
# - type: directory
# create: false
# src: /var/lib/gitea/.ssh
# dest: /data/git/.ssh
2020-04-15 11:30:00 +00:00
2020-04-15 12:07:27 +00:00
# - type: file
# create: false
# src: /etc/timezone
# dest: /etc/timezone
2020-04-15 11:30:00 +00:00
2020-04-15 12:07:27 +00:00
# - type: link
# create: false
# src: /etc/localtime
# dest: /etc/localtime
2020-04-14 15:38:57 +00:00
db:
- type: "mariadb"
2020-04-15 09:46:46 +00:00
passwd: "{{ vault.db_passwd }}"
2020-04-15 09:50:25 +00:00
root_passwd: "{{ vault.root_db_passwd }}"
2020-04-14 15:38:57 +00:00
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"
2020-04-15 11:37:19 +00:00
DOMAIN: "{{ vars.domain }}"
2020-04-14 15:38:57 +00:00
ENABLE_OPENID_SIGNIN: "true"
ENABLE_OPENID_SIGNUP: "true"
GITEA_THEME: "arc-green"
2020-04-15 11:37:19 +00:00
HTTP_PORT: "{{ vars.port }}"
2020-04-14 15:38:57 +00:00
INSTALL_LOCK: "true"
JWT_SECRET: "{{ vault.jwt_secret }}"
MAILER_ENABLED: "true"
RUN_MODE: "prod"
SECRET_KEY: "{{ vault.secret_key }}"
2020-04-15 09:48:04 +00:00
SMTP_FROM: "gitea-autonomic@decentral1.se"
SMTP_HOST: "mail.gandi.net:587"
2020-04-14 15:38:57 +00:00
SMTP_MAILER_TYPE: "smtp"
SMTP_PASSWD: "{{ vault.smtp_passwd }}"
SMTP_TLS_ENABLED: "true"
2020-04-15 09:48:04 +00:00
SMTP_USER: "gitea-autonomic@decentral1.se"
2020-04-15 11:37:19 +00:00
SSH_DOMAIN: "{{ vars.domain }}"
2020-04-15 11:39:46 +00:00
SSH_LISTEN_PORT: "{{ vars.ssh_listen_port }}"
2020-04-14 15:38:57 +00:00
SSH_PORT: "222"
STARTUP_TIMEOUT: "0"
2020-04-15 11:37:19 +00:00
WHITELIST_URIS: "https://{{ vars.domain }}"