security: hardening по результатам аудита безопасности
This commit is contained in:
@@ -9,6 +9,7 @@ services:
|
||||
- APP_PG_HOST=db
|
||||
- APP_PG_DATABASE=postgres
|
||||
- APP_PG_USER=synapse
|
||||
# SECURITY: change this example password before deploying to production.
|
||||
- APP_PG_PASSWORD=changeme
|
||||
- APP_PQ_PUBLIC_KEY_PATH=/keys/synapse.pq.pub.pem
|
||||
- APP_CLASSICAL_PUBLIC_KEY_PATH=/keys/synapse.classical.pub.pem
|
||||
@@ -17,7 +18,7 @@ services:
|
||||
networks:
|
||||
- my-network
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:8080/healthz"]
|
||||
test: ["CMD", "synapse-backupper", "healthcheck"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
start_period: 10s
|
||||
|
||||
Reference in New Issue
Block a user