hedgedoc: handle restart via systemd service
This commit is contained in:
parent
b86945f714
commit
fdf91000d5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user