Add cron and domain
This commit is contained in:
parent
80973fd6f9
commit
64c6826503
@ -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
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user