File tree Expand file tree Collapse file tree 3 files changed +17
-20
lines changed Expand file tree Collapse file tree 3 files changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ app = 'self-hosted-dashboard'
77primary_region = ' sjc'
88
99[build ]
10- image = ' ghcr.io/get-convex/self-hosted-dashboard-amd64 :latest'
10+ image = ' ghcr.io/get-convex/self-hosted-dashboard:latest'
1111
1212[env ]
1313NEXT_PUBLIC_DEPLOYMENT_URL = ' https://self-hosted-backend.fly.dev'
1414
1515[[services ]]
16- internal_port = 6790
16+ internal_port = 6791
1717protocol = " tcp"
1818
1919[[services .ports ]]
Original file line number Diff line number Diff line change 33fly launch
44# Copy and paste the url that is output to set NEXT_PUBLIC_DEPLOYMENT_URL in the dashboard/fly.toml file.
55
6- # Generate admin key
7- fly ssh console --app self-hosted-backend --command " ./generate_admin_key.sh"
86cd dashboard
97fly launch
10- # TODO Remove after dashboard docker rebuild
11- fly secrets set NEXT_PUBLIC_ADMIN_KEY=< your-admin-key>
12- fly deploy
138# Visit the dashboard at the url output from the fly deploy command.
9+ # Generate admin key to login to the dashboard.
10+ fly ssh console --app self-hosted-backend --command " ./generate_admin_key.sh"
1411
1512# Write these environment variables to .env.local
1613CONVEX_SELF_HOST_DEPLOYMENT_URL=' <NEXT_PUBLIC_DEPLOYMENT_URL>'
Original file line number Diff line number Diff line change @@ -7,24 +7,24 @@ app = 'self-hosted-backend'
77primary_region = ' sjc'
88
99[build ]
10- image = ' ghcr.io/get-convex/self-hosted-backend-amd64 :latest'
10+ image = ' ghcr.io/get-convex/self-hosted-backend:latest'
1111
1212[env ]
13- TMPDIR = ' /convex/data/tmp'
13+ TMPDIR = ' /convex/data/tmp'
1414
1515[[mounts ]]
16- source = ' convex_data'
17- destination = ' /convex/data'
16+ source = ' convex_data'
17+ destination = ' /convex/data'
1818
1919[http_service ]
20- internal_port = 3210
21- force_https = true
22- auto_stop_machines = ' stop'
23- auto_start_machines = true
24- min_machines_running = 1
25- processes = [' app' ]
20+ internal_port = 3210
21+ force_https = true
22+ auto_stop_machines = ' stop'
23+ auto_start_machines = true
24+ min_machines_running = 1
25+ processes = [' app' ]
2626
2727[[vm ]]
28- memory = ' 1gb'
29- cpu_kind = ' shared'
30- cpus = 1
28+ memory = ' 1gb'
29+ cpu_kind = ' shared'
30+ cpus = 1
You can’t perform that action at this time.
0 commit comments