(READ ONLY) Margin is an open annotation layer for the internet. Powered by the AT Protocol. margin.at
extension web atproto comments
99
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 39 lines 876 B view raw
1services: 2 margin: 3 image: ghcr.io/margin-at/margin:latest 4 container_name: margin-at 5 environment: 6 - PORT=8080 7 - API_PORT=8081 8 - API_URL=http://localhost:8081 9 - DATABASE_URL=postgres://margin:margin@margin-db:5432/margin?sslmode=disable 10 - HOST=0.0.0.0 11 - OAUTH_KEY_PATH=/data/oauth_private_key.pem 12 env_file: 13 - .env 14 volumes: 15 - margin-data:/data 16 depends_on: 17 db: 18 condition: service_healthy 19 20 db: 21 image: postgres:17-alpine 22 container_name: margin-db 23 environment: 24 - POSTGRES_USER=margin 25 - POSTGRES_PASSWORD=margin 26 - POSTGRES_DB=margin 27 28 volumes: 29 - db-data:/var/lib/postgresql/data 30 healthcheck: 31 test: ["CMD-SHELL", "pg_isready -U margin"] 32 interval: 5s 33 timeout: 5s 34 retries: 5 35 restart: always 36 37volumes: 38 db-data: 39 margin-data: