See the best posts from any Bluesky account
0
fork

Configure Feed

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

add BACKFILL_MAX_POSTS to docker-compose.yml

+23 -15
+23 -15
docker-compose.yml
··· 14 14 POSTHOG_API_KEY: ${POSTHOG_API_KEY:-} 15 15 POSTHOG_HOST: ${POSTHOG_HOST:-https://ph.btao.org} 16 16 OTEL_EXPORTER_OTLP_ENDPOINT: ${OTEL_EXPORTER_OTLP_ENDPOINT} 17 + BACKFILL_MAX_POSTS: ${BACKFILL_MAX_POSTS:-10000} 17 18 OTEL_EXPORTER_OTLP_HEADERS: ${OTEL_EXPORTER_OTLP_HEADERS} 18 19 19 20 x-logging: &default-logging 20 21 driver: json-file 21 22 options: 22 - max-size: "10m" 23 - max-file: "3" 23 + max-size: '10m' 24 + max-file: '3' 24 25 25 26 services: 26 27 clickhouse: 27 28 image: clickhouse/clickhouse-server:26.2 28 29 ports: 29 - - "8123:8123" 30 + - '8123:8123' 30 31 volumes: 31 32 - clickhouse-data:/var/lib/clickhouse 32 33 environment: ··· 39 40 resources: 40 41 limits: 41 42 memory: 4G 42 - cpus: "2" 43 + cpus: '2' 43 44 logging: *default-logging 44 45 healthcheck: 45 - test: ["CMD", "wget", "-qO-", "http://localhost:8123/ping"] 46 + test: ['CMD', 'wget', '-qO-', 'http://localhost:8123/ping'] 46 47 interval: 2s 47 48 timeout: 3s 48 49 retries: 15 ··· 59 60 resources: 60 61 limits: 61 62 memory: 512M 62 - cpus: "0.5" 63 + cpus: '0.5' 63 64 logging: *default-logging 64 65 environment: 65 66 <<: *common-env 66 - OTEL_EXPORTER_OTLP_ENDPOINT: "" 67 - OTEL_EXPORTER_OTLP_HEADERS: "" 67 + OTEL_EXPORTER_OTLP_ENDPOINT: '' 68 + OTEL_EXPORTER_OTLP_HEADERS: '' 68 69 69 70 web: 70 71 image: favs-blue:latest ··· 80 81 resources: 81 82 limits: 82 83 memory: 1536M 83 - cpus: "1" 84 + cpus: '1' 84 85 logging: *default-logging 85 86 environment: 86 87 <<: *common-env ··· 89 90 HEALTH_CHECK_TOKEN: ${HEALTH_CHECK_TOKEN:-} 90 91 OTEL_SERVICE_NAME: favs-blue-web 91 92 ports: 92 - - "3333:3333" 93 + - '3333:3333' 93 94 healthcheck: 94 - test: ["CMD", "wget", "-qO-", "--header=x-monitoring-secret:$HEALTH_CHECK_TOKEN", "http://127.0.0.1:3333/health/ready"] 95 + test: 96 + [ 97 + 'CMD', 98 + 'wget', 99 + '-qO-', 100 + '--header=x-monitoring-secret:$HEALTH_CHECK_TOKEN', 101 + 'http://127.0.0.1:3333/health/ready', 102 + ] 95 103 interval: 10s 96 104 timeout: 3s 97 105 retries: 5 ··· 112 120 resources: 113 121 limits: 114 122 memory: 512M 115 - cpus: "0.5" 123 + cpus: '0.5' 116 124 logging: *default-logging 117 125 healthcheck: 118 - test: ["CMD", "node", "-e", "process.exit(0)"] 126 + test: ['CMD', 'node', '-e', 'process.exit(0)'] 119 127 interval: 10s 120 128 timeout: 3s 121 129 retries: 3 ··· 139 147 resources: 140 148 limits: 141 149 memory: 1G 142 - cpus: "0.5" 150 + cpus: '0.5' 143 151 logging: *default-logging 144 152 healthcheck: 145 - test: ["CMD", "node", "-e", "process.exit(0)"] 153 + test: ['CMD', 'node', '-e', 'process.exit(0)'] 146 154 interval: 10s 147 155 timeout: 3s 148 156 retries: 3