Something went wrong. Try again.
This string has no description
Something went wrong. Try again.
2.0 kB · 69 lines · Created 7mo ago
YAML
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970services: plc: build: context: https://github.com/did-method-plc/did-method-plc.git dockerfile: packages/server/Dockerfile ports: - '2582:2582' environment: - DATABASE_URL=postgres://plc:plc@postgres:5432/plc - PORT=2582 command: ['dumb-init', 'node', '--enable-source-maps', '../dist/bin.js'] depends_on: postgres: condition: service_healthy healthcheck: test: ['CMD-SHELL', 'wget -q --spider http://localhost:2582/_health || exit 1'] interval: 2s timeout: 5s retries: 15
pds: image: ghcr.io/bluesky-social/pds:latest ports: - '2583:2583' environment: - PDS_HOSTNAME=localhost - PDS_PORT=2583 - PDS_DID_PLC_URL=http://plc:2582 - PDS_DATA_DIRECTORY=/pds - PDS_BLOBSTORE_DISK_LOCATION=/pds/blobs - PDS_JWT_SECRET=jwt-secret - PDS_ADMIN_PASSWORD=admin - PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef - PDS_INVITE_REQUIRED=false - 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 - PDS_CRAWLERS=https://bsky.network - PDS_DEV_MODE=true - LOG_ENABLED=true volumes: - pds_data:/pds depends_on: plc: condition: service_healthy healthcheck: test: ['CMD-SHELL', 'wget -q --spider http://localhost:2583/xrpc/_health || exit 1'] interval: 2s timeout: 5s retries: 15
postgres: image: postgres:16-alpine environment: - POSTGRES_USER=plc - POSTGRES_PASSWORD=plc - POSTGRES_DB=plc volumes: - plc_data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U plc'] interval: 2s timeout: 5s retries: 10
volumes: pds_data: plc_data: