Refactor host variables

This commit is contained in:
Tobias Reisinger 2023-12-28 16:16:31 +01:00
parent 8a861e080b
commit 36c8cf2914
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 36 additions and 43 deletions
roles/forgejo/vars

View file

@ -8,7 +8,6 @@ forgejo_svc:
host: "{{ postgres.host }}"
port: "{{ postgres.port }}"
ssh_port: 22
ssh_port_alt: 3022
forgejo_env:
FORGEJO__database__DB_TYPE: postgres
@ -90,6 +89,5 @@ forgejo_compose:
app:
ports:
- "{{ svc.ssh_port }}:{{ svc.ssh_port }}"
- "{{ svc.ssh_port_alt }}:{{ svc.ssh_port }}"
volumes:
data: