A zero-dependency AT Protocol Personal Data Server written in JavaScript
atproto pds
at main 745 B view raw
1services: 2 plc: 3 build: 4 context: https://github.com/did-method-plc/did-method-plc.git 5 dockerfile: packages/server/Dockerfile 6 ports: 7 - "2582:2582" 8 environment: 9 - DATABASE_URL=postgres://plc:plc@postgres:5432/plc 10 - PORT=2582 11 command: ["dumb-init", "node", "--enable-source-maps", "../dist/bin.js"] 12 depends_on: 13 postgres: 14 condition: service_healthy 15 16 postgres: 17 image: postgres:16-alpine 18 environment: 19 - POSTGRES_USER=plc 20 - POSTGRES_PASSWORD=plc 21 - POSTGRES_DB=plc 22 volumes: 23 - plc_data:/var/lib/postgresql/data 24 healthcheck: 25 test: ["CMD-SHELL", "pg_isready -U plc"] 26 interval: 2s 27 timeout: 5s 28 retries: 10 29 30volumes: 31 plc_data: