Work with the ports
This commit is contained in:
parent
f72c4c8996
commit
c0a5593329
@ -8,13 +8,6 @@
|
|||||||
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:
|
||||||
@ -31,16 +24,16 @@
|
|||||||
mounts:
|
mounts:
|
||||||
- "/home/dokku/drone/letsencrypt/certs:/etc/ssl/certs/"
|
- "/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
|
- name: Set HTTP 443 port
|
||||||
dokku_ports:
|
dokku_ports:
|
||||||
app: drone
|
app: drone
|
||||||
mappings:
|
mappings:
|
||||||
- "https:443:{{ drone_port }}"
|
- "https:443:{{ drone_port }}"
|
||||||
state: present
|
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_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
|
||||||
|
Reference in New Issue
Block a user