mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
changed healthcheck und handlers
This commit is contained in:
parent
ea0804be93
commit
6b54c0fcf9
@ -33,4 +33,5 @@ curl -X POST https://your-pds-domain/xrpc/com.atproto.server.createAccount \
|
|||||||
- https://therobbiedavis.com/selfhosting-bluesky-with-docker-and-swag/
|
- https://therobbiedavis.com/selfhosting-bluesky-with-docker-and-swag/
|
||||||
- https://cprimozic.net/notes/posts/notes-on-self-hosting-bluesky-pds-alongside-other-services/
|
- https://cprimozic.net/notes/posts/notes-on-self-hosting-bluesky-pds-alongside-other-services/
|
||||||
- https://github.com/bluesky-social/pds
|
- https://github.com/bluesky-social/pds
|
||||||
- https://chatgpt.com/c/678a2eb6-145c-800f-bf51-ff706981a928
|
- https://chatgpt.com/c/678a2eb6-145c-800f-bf51-ff706981a928
|
||||||
|
- https://www.youtube.com/watch?v=7_AG50u7D6c
|
@ -11,7 +11,7 @@ services:
|
|||||||
PDS_DB__POSTGRES__URL: "postgres://{{ database_username }}:{{ database_password }}@{{ database_host }}:5432/{{ database_name }}"
|
PDS_DB__POSTGRES__URL: "postgres://{{ database_username }}:{{ database_password }}@{{ database_host }}:5432/{{ database_name }}"
|
||||||
PDS_SERVICE_DID: "did:web:{{domain_api}}"
|
PDS_SERVICE_DID: "did:web:{{domain_api}}"
|
||||||
# See https://mattdyson.org/blog/2024/11/self-hosting-bluesky-pds/
|
# See https://mattdyson.org/blog/2024/11/self-hosting-bluesky-pds/
|
||||||
PDS_SERVICE_HANDLE_DOMAINS: ".{{domain_api}}"
|
PDS_SERVICE_HANDLE_DOMAINS: ".{{top_domain}}"
|
||||||
PDS_JWT_SECRET: "{{bluesky_pds_jwt_secret}}"
|
PDS_JWT_SECRET: "{{bluesky_pds_jwt_secret}}"
|
||||||
PDS_ADMIN_PASSWORD: "{{bluesky_pds_admin_password}}"
|
PDS_ADMIN_PASSWORD: "{{bluesky_pds_admin_password}}"
|
||||||
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: "{{bluesky_pds_plc_rotation_key_k256_private_key_hex}}"
|
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: "{{bluesky_pds_plc_rotation_key_k256_private_key_hex}}"
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:{{http_port_api}}:3000"
|
- "127.0.0.1:{{http_port_api}}:3000"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "http://127.0.0.1:3000"]
|
test: ["CMD", "wget", "--spider", "http://127.0.0.1:3000/xrpc/_health"]
|
||||||
interval: 1m
|
interval: 1m
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user