Drop back to usual order for ports setting
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-04-06 13:10:45 +02:00
parent 72b39ad07e
commit da6b4a1c02
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 14 additions and 14 deletions

View File

@ -8,6 +8,13 @@
extensions:
- yml
- name: Set HTTP 80 port proxy
dokku_ports:
app: autonomic.zone
mappings:
- "http:80:{{ http_port }}"
state: present
- name: Setup LE certificates
shell: dokku letsencrypt autonomic.zone
args:
@ -31,3 +38,10 @@
mappings:
- "https:443:{{ http_port }}"
state: present
- name: Remove automatically configured ports
dokku_ports:
app: autonomic.zone
mappings:
- "http:4000:4000"
state: absent

View File

@ -42,20 +42,6 @@
- autonomic.zone.dokku.autonomic.zone
state: absent
- name: Set HTTP 80 port proxy
dokku_ports:
app: autonomic.zone
mappings:
- "http:80:{{ http_port }}"
state: present
- name: Remove automatically configured ports
dokku_ports:
app: autonomic.zone
mappings:
- "http:4000:4000"
state: absent
- name: Configure the dokku app environment
dokku_config:
app: autonomic.zone