app = 'semble-development' primary_region = 'yyz' [build] [processes] web = "sh -c 'PROCESS_TYPE=web npm start'" feed-worker = "sh -c 'PROCESS_TYPE=feed-worker npm run worker:feeds'" search-worker = "sh -c 'PROCESS_TYPE=search-worker npm run worker:search'" firehose-worker = "sh -c 'PROCESS_TYPE=firehose-worker npm run worker:firehose'" notification-worker = "sh -c 'PROCESS_TYPE=notification-worker npm run worker:notifications'" sync-worker = "sh -c 'PROCESS_TYPE=sync-worker npm run worker:sync'" [http_service] internal_port = 3000 force_https = true auto_stop_machines = 'stop' auto_start_machines = true min_machines_running = 0 processes = ['web'] [[vm]] memory = '512mb' cpu_kind = 'shared' cpus = 1 [[vm]] processes = ['feed-worker'] memory = '256mb' cpu_kind = 'shared' cpus = 1 [[vm]] processes = ['search-worker'] memory = '256mb' cpu_kind = 'shared' cpus = 1 [[vm]] processes = ['firehose-worker'] memory = '512mb' cpu_kind = 'shared' cpus = 1 auto_stop_machines = false min_machines_running = 1 [[vm]] processes = ['notification-worker'] memory = '256mb' cpu_kind = 'shared' cpus = 1 [[vm]] processes = ['sync-worker'] memory = '512mb' cpu_kind = 'shared' cpus = 1 [env] NODE_ENV="dev" BASE_URL="https://api.dev.semble.so" HOST="0.0.0.0" APP_URL="https://dev.semble.so" ACCESS_TOKEN_EXPIRES_IN=2592000 REFRESH_TOKEN_EXPIRES_IN=5184000 ATPROTO_FIREHOSE_WEBSOCKET="wss://relay1.us-west.bsky.network"