mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-28 18:30:24 +02:00
Compare commits
2 Commits
efd1b5775e
...
4bfbb94609
Author | SHA1 | Date | |
---|---|---|---|
4bfbb94609 | |||
4ea66bfc76 |
@ -1,5 +1,9 @@
|
||||
# DRAFT role docker-bluesky
|
||||
UPtIn/VqlSyN4a8jO7FtwUxFqcHP5yqCXEzcDCRxRrvf1DPDtuPz7RS8yZ4GQq8K
|
||||
CT+h2/EdjnMrdIcaPa1XRw==
|
||||
|
||||
jtEVJfLEfonUNkFhBsThHXAFhBI2f2u5fwLxCaXuXYvTrRIMl3ju1TTEzrGNw4cYsxdUZ4+4HDx5dkpGzd3HGA==
|
||||
## more information
|
||||
- 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
|
@ -1,5 +1,5 @@
|
||||
services:
|
||||
application:
|
||||
pds:
|
||||
image: ghcr.io/bluesky-social/pds:0.4
|
||||
restart: {{docker_restart_policy}}
|
||||
ports:
|
||||
@ -10,10 +10,29 @@ services:
|
||||
- /env
|
||||
environment:
|
||||
# Geben Sie hier Ihre Domain und Konfigurationsdetails an
|
||||
PDS_HOSTNAME: "your-domain.com"
|
||||
PDS_ADMIN_EMAIL: "admin@your-domain.com"
|
||||
PDS_DB__POSTGRES__URL: "postgres://pdsuser:pdspassword@postgres:5432/pds"
|
||||
PDS_SERVICE_DID: "did:web:your-domain.com"
|
||||
PDS_HOSTNAME: "{{domain}}"
|
||||
PDS_ADMIN_EMAIL: "{{PDS_ADMIN_EMAIL}}"
|
||||
PDS_DB__POSTGRES__URL: "postgres://{{ database_username }}:{{ database_password }}@{{ database_host }}:5432/{{ database_name }}"
|
||||
PDS_SERVICE_DID: "did:web:{{ domain }}"
|
||||
# See https://mattdyson.org/blog/2024/11/self-hosting-bluesky-pds/
|
||||
PDS_SERVICE_HANDLE_DOMAINS: ."{{domain}}"
|
||||
PDS_JWT_SECRET: <INSERT SECRET HERE>
|
||||
PDS_ADMIN_PASSWORD: <INSERT ANOTHER SECRET HERE>
|
||||
PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX: <INSERT KEY HEX HERE>
|
||||
PDS_CRAWLERS: https://bsky.network
|
||||
PDS_EMAIL_SMTP_URL: smtps://{{system_email_username}}:{{system_email_passwort}}@{{system_email_host}}:{{system_email_port}}/
|
||||
PDS_EMAIL_FROM_ADDRESS: {{system_email_from}}
|
||||
LOG_ENABLED: true
|
||||
|
||||
# -- DEFAULT VALUES ---
|
||||
# PDS_DATA_DIRECTORY: /opt/pds
|
||||
# PDS_BLOBSTORE_DISK_LOCATION: /opt/pds/blocks
|
||||
# PDS_BLOB_UPLOAD_LIMIT: 52428800
|
||||
# PDS_DID_PLC_URL=https://plc.directory
|
||||
# PDS_BSKY_APP_VIEW_URL=https://api.bsky.app
|
||||
# PDS_BSKY_APP_VIEW_DID=did:web:api.bsky.app
|
||||
# PDS_REPORT_SERVICE_URL=https://mod.bsky.app
|
||||
# PDS_REPORT_SERVICE_DID=did:plc:ar7c4by46qjdydhdevvrndac
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:3000"
|
||||
healthcheck:
|
||||
@ -24,6 +43,21 @@ services:
|
||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
||||
|
||||
# Deactivated for the moment @see https://github.com/bluesky-social/social-app
|
||||
# bluesky-app:
|
||||
# image: ghcr.io/bluesky-social/app:latest # Beispiel-App-Image
|
||||
# restart: always
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# environment:
|
||||
# # Verbindung zur PDS-Instanz
|
||||
# REACT_APP_PDS_URL: "http://application:3000" # URL des PDS
|
||||
# REACT_APP_API_URL: "http://application:3000" # API-URL des PDS
|
||||
# REACT_APP_SITE_NAME: "Bluesky"
|
||||
# REACT_APP_SITE_DESCRIPTION: "Dezentrales Soziales Netzwerk"
|
||||
# depends_on:
|
||||
# - application
|
||||
|
||||
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
||||
|
||||
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user