Add cron and domain

This commit is contained in:
Luke Murphy 2020-03-22 12:39:40 +01:00
parent 80973fd6f9
commit 64c6826503
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 12 additions and 0 deletions

View File

@ -20,6 +20,11 @@
args:
creates: /home/dokku/gitea/letsencrypt/certs
- name: Setup LE certificates renew cron job
shell: dokku letsencrypt:cron-job --add
args:
creates: /home/dokku/gitea/letsencrypt/cron-job
- name: Remove automatically configured ports
dokku_ports:
app: gitea

View File

@ -8,6 +8,13 @@
extensions:
- yml
- name: Configure git.autonomic.zone domain
dokku_domains:
app: gitea
domains:
- git.autonomic.zone
state: present
- name: Create mariadb database
shell: "dokku mariadb:create gitea --password {{ db_passwd }} --root-password {{ root_db_passwd }}"
args: