Move port 80 definition back to post-deploy

This commit is contained in:
Luke Murphy 2020-03-25 01:31:20 +01:00
parent 6336cb5d11
commit 76603ac0ec
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 7 additions and 7 deletions

View File

@ -8,6 +8,13 @@
extensions: extensions:
- yml - yml
- name: Set HTTP 80 port proxy
dokku_ports:
app: drone
mappings:
- "http:80:{{ drone_port }}"
state: present
- name: Setup LE certificates - name: Setup LE certificates
shell: dokku letsencrypt drone shell: dokku letsencrypt drone
args: args:

View File

@ -43,10 +43,3 @@
DRONE_SERVER_HOST: "{{ domain }}" DRONE_SERVER_HOST: "{{ domain }}"
DRONE_SERVER_PROTO: "https" DRONE_SERVER_PROTO: "https"
DRONE_SERVER_PORT: "{{ drone_port }}" DRONE_SERVER_PORT: "{{ drone_port }}"
- name: Set HTTP 80 port proxy
dokku_ports:
app: drone
mappings:
- "http:80:{{ drone_port }}"
state: present