Highly ambitious ATProtocol AppView service and sdks
1# fly.toml app configuration file generated for slices-aip on 2025-08-23T12:49:45-07:00
2#
3# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4#
5
6app = 'slices-aip'
7primary_region = 'sea'
8
9[build]
10 image = 'ghcr.io/bigmoves/aip/aip-sqlite:main-e445b82'
11
12[env]
13 EXTERNAL_BASE="https://auth.slices.network"
14 HTTP_PORT="8080"
15 DATABASE_URL="sqlite:///data/aip.db"
16 HTTP_CLIENT_TIMEOUT="30"
17 OAUTH_SUPPORTED_SCOPES="openid email profile atproto transition:generic account:email blob:image/* repo:network.slices.slice repo:network.slices.lexicon repo:network.slices.actor.profile repo:network.slices.waitlist.request"
18 ENABLE_CLIENT_API="true"
19 ADMIN_DIDS="did:plc:bcgltzqazw5tb6k2g3ttenbj"
20 RUST_LOG="aip=trace,sqlx=debug,tower_http=debug,atproto_identity=debug,atproto_oauth=debug"
21
22[http_service]
23 internal_port = 8080
24 force_https = true
25 auto_stop_machines = 'stop'
26 auto_start_machines = true
27 min_machines_running = 0
28 processes = ['app']
29
30[[vm]]
31 memory = '512mb'
32 cpu_kind = 'shared'
33 cpus = 1
34
35[mounts]
36 source = 'aip_data'
37 destination = '/data'