grain.social is a photo sharing platform built on atproto.
1# fly.toml app configuration file generated for grain-pds on 2025-06-01T21:15:20-07:00
2#
3# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
4#
5
6app = 'grain-pds'
7primary_region = 'sea'
8
9[build]
10 image = 'ghcr.io/bluesky-social/pds:0.4'
11
12[env]
13 LOG_ENABLED = 'true'
14 PDS_BLOBSTORE_DISK_LOCATION = '/pds/blocks'
15 PDS_BLOB_UPLOAD_LIMIT = '52428800'
16 PDS_BSKY_APP_VIEW_DID = 'did:web:api.bsky.app'
17 PDS_BSKY_APP_VIEW_URL = 'https://api.bsky.app'
18 PDS_CRAWLERS = 'https://bsky.network'
19 PDS_DATA_DIRECTORY = '/pds'
20 PDS_DID_PLC_URL = 'https://plc.directory'
21 PDS_HOSTNAME = 'ansel.grainsocial.network'
22 PDS_REPORT_SERVICE_DID = 'did:plc:ar7c4by46qjdydhdevvrndac'
23 PDS_REPORT_SERVICE_URL = 'https://mod.bsky.app'
24 PDS_SERVICE_HANDLE_DOMAINS = '.grain.social'
25 PDS_SERVICE_NAME = 'Grain Social'
26 PDS_HOME_URL = 'https://grain.social'
27 PDS_LIGHT_COLOR = '#fff'
28 PDS_DARK_COLOR = '#09090b'
29 PDS_PRIMARY_COLOR = '#00a6f4'
30 PDS_PRIMARY_COLOR_CONTRAST = '#fff'
31 PDS_PRIMARY_COLOR_HUE = '#fff'
32 PDS_TERMS_OF_SERVICE_URL = 'https://grain.social/support/terms'
33 PDS_PRIVACY_POLICY_URL = 'https://grain.social/support/privacy'
34 PDS_SUPPORT_URL= 'https://grain.social/support'
35 PDS_CONTACT_EMAIL_ADDRESS = 'support@grain.social'
36
37[[mounts]]
38 source = 'pdsdata'
39 destination = '/pds'
40
41[[services]]
42 protocol = 'tcp'
43 internal_port = 3000
44 auto_stop_machines = 'off'
45 auto_start_machines = true
46 min_machines_running = 1
47 processes = ['app']
48
49 [[services.ports]]
50 port = 443
51 handlers = ['tls', 'http']
52
53[[vm]]
54 memory = '512mb'
55 cpu_kind = 'shared'
56 cpus = 1