fix port bindigns

This commit is contained in:
Malte 2024-12-15 19:18:11 +01:00
parent 11ca0071ad
commit 999d4789dd
2 changed files with 3 additions and 2 deletions

View file

@ -38,8 +38,8 @@ hedgedoc_docker_present:
- hedgedoc - hedgedoc
- volumes: - volumes:
- /opt/hedgedoc/uploads:/hedgedoc/public/uploads - /opt/hedgedoc/uploads:/hedgedoc/public/uploads
- ports: - port_bindings:
- "127.0.0.1:3000:3000" - "{{ salt['pillar.get']('hedgedoc:container_web_port', "127.0.0.1:3000") }}:3000"
- restart: always - restart: always
hedgedoc_database_present: hedgedoc_database_present:

View file

@ -2,6 +2,7 @@ hedgedoc:
image: image:
path: quay.io/hedgedoc/hedgedoc path: quay.io/hedgedoc/hedgedoc
version: 1.10.0 version: 1.10.0
container_web_port: 127.0.0.1:8080
oauth2: oauth2:
user_profile_url: https://login.example.com/realms/example/protocol/openid-connect/userinfo user_profile_url: https://login.example.com/realms/example/protocol/openid-connect/userinfo
token_url: https://login.example.com/realms/example/protocol/openid-connect/token token_url: https://login.example.com/realms/example/protocol/openid-connect/token