diff --git a/roles/hedgedoc/templates/docker-compose.yml.j2 b/roles/hedgedoc/templates/docker-compose.yml.j2 index 47d9a37..7755252 100644 --- a/roles/hedgedoc/templates/docker-compose.yml.j2 +++ b/roles/hedgedoc/templates/docker-compose.yml.j2 @@ -8,7 +8,6 @@ services: - POSTGRES_DB={{ hedgedoc_dbname }} volumes: - ./database:/var/lib/postgresql/data - restart: unless-stopped app: image: quay.io/hedgedoc/hedgedoc:1.9.3 environment: @@ -23,7 +22,7 @@ services: - CMD_HSTS_INCLUDE_SUBDOMAINS=true - CMD_HSTS_PRELOAD=true - CMD_CSP_ENABLE=true - - CMD_DB_URL=postgres://{{ hedgedoc_dbuser }}:{{ hedgedoc_dbpass }}@database:5432/{{ hedgedoc_dbname }} + - CMD_DB_URL=postgres://{{ hedgedoc_dbuser }}:{{ hedgedoc_dbpass }}@database/{{ hedgedoc_dbname }} - CMD_LDAP_URL={{ ldap_uri }} - CMD_LDAP_BINDDN={{ ldap_binddn }} - CMD_LDAP_BINDCREDENTIALS={{ ldap_bindpw }} @@ -40,6 +39,5 @@ services: - ./uploads:/hedgedoc/public/uploads ports: - "127.0.0.1:3000:3000" - restart: unless-stopped depends_on: - database