You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1️⃣ "pre-launch" to auto-detect Postgres: this will provision a PG app
fly launch --no-deploy -y
2️⃣ Setup volumes
Check if the Pg app is created:
fly pg list
NAME OWNER STATUS LATEST DEPLOY
liveview-pwa-db personal deployed
Set LOGICAL to PG conf:
fly pg config update --wal-level logical -a liveview-pwa-db -y
❗️ You get by default a "dev" machine with 256MB. You may need to upgrade the PG machine for a 512MB one. I got teh machine_id (2874469f1dde98) from the Fly desktop:
fly machine update 2874469f1dde98 --vm-memory 512 -a liveview-pwa-db
Set a volume to persist the SQLite file:
fly volumes create db --size 1 --region bog -y
3️⃣ Reconfigure "fly.toml"
❗️The "fly.toml" is updated by Fly. Paste the following (the IPV6 ERL flags are important):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This app uses 2 databases: PostgreSQL & SQLite.
1️⃣ "pre-launch" to auto-detect Postgres: this will provision a PG app
2️⃣ Setup volumes
Check if the Pg app is created:
Set
LOGICALto PG conf:❗️ You get by default a "dev" machine with 256MB. You may need to upgrade the PG machine for a 512MB one. I got teh machine_id (2874469f1dde98) from the Fly desktop:
Set a volume to persist the SQLite file:
3️⃣ Reconfigure "fly.toml"
❗️The "fly.toml" is updated by Fly. Paste the following (the IPV6 ERL flags are important):
🚀 Deploy
Beta Was this translation helpful? Give feedback.
All reactions