Work with the ports
This commit is contained in:
parent
f72c4c8996
commit
c0a5593329
@ -8,13 +8,6 @@
|
||||
extensions:
|
||||
- yml
|
||||
|
||||
- name: Set HTTP 80 port proxy
|
||||
dokku_ports:
|
||||
app: drone
|
||||
mappings:
|
||||
- "http:80:{{ drone_port }}"
|
||||
state: present
|
||||
|
||||
- name: Setup LE certificates
|
||||
shell: dokku letsencrypt drone
|
||||
args:
|
||||
@ -31,16 +24,16 @@
|
||||
mounts:
|
||||
- "/home/dokku/drone/letsencrypt/certs:/etc/ssl/certs/"
|
||||
|
||||
- name: Remove automatically configured ports
|
||||
dokku_ports:
|
||||
app: gitea
|
||||
mappings:
|
||||
- "http:{{ drone_port }}:{{ drone_port }}"
|
||||
state: absent
|
||||
|
||||
- name: Set HTTP 443 port
|
||||
dokku_ports:
|
||||
app: drone
|
||||
mappings:
|
||||
- "https:443:{{ drone_port }}"
|
||||
state: present
|
||||
|
||||
- name: Remove automatically configured ports
|
||||
dokku_ports:
|
||||
app: gitea
|
||||
mappings:
|
||||
- "http:{{ drone_port }}:{{ drone_port }}"
|
||||
state: absent
|
||||
|
@ -43,3 +43,10 @@
|
||||
DRONE_SERVER_HOST: "{{ domain }}"
|
||||
DRONE_SERVER_PROTO: "https"
|
||||
DRONE_SERVER_PORT: "{{ drone_port }}"
|
||||
|
||||
- name: Set HTTP 80 port proxy
|
||||
dokku_ports:
|
||||
app: drone
|
||||
mappings:
|
||||
- "http:80:{{ drone_port }}"
|
||||
state: present
|
||||
|
Reference in New Issue
Block a user