Skip to content

Migrate from Heroku

Move a Heroku application to Fransys: the Procfile, config vars, Heroku Postgres, the Scheduler and add-ons.

Checked against the console on 23 Oct 2026
On HerokuOn Fransys
a web dyno in the Procfilean Application
a worker dynoa copy of the service, with a role read by the entrypoint
the release phaseDeployment commands › Before an update
config varsVariables, by importing a .env
Heroku Postgresa PostgreSQL database
Heroku Redisa Redis database
Heroku Schedulera scheduled task
a buildpacka Dockerfile in your repository
the domainAdd a domain, then the DNS record

Fransys builds a Docker image: add a Dockerfile to your repository. See Deploy Laravel or Node.js and Next.js. Listen on the port of your choice, then set it in Container port (Heroku forces $PORT, Fransys doesn’t).

Add the application and connect the CI (From GitHub or GitLab). Get your config vars:

Fenêtre de terminal
heroku config -s -a my-app > heroku.env

then import the file into Variables (Multiple variables (.env) mode). Remove DATABASE_URL and REDIS_URL: they’ll come from the Fransys databases. Protect the secrets.

Add a PostgreSQL database linked to the application, turn on its remote access, then:

Fenêtre de terminal
heroku pg:backups:capture -a my-app
curl -o dump.backup "$(heroku pg:backups:url -a my-app)"
pg_restore --no-owner --no-acl -h <host> -p <port> -U <user> -d <database> dump.backup

with the Fransys database’s credentials. Turn remote access off once the import is done.

Deploy, check the fransysapp.com address, then add your domain and change the DNS. Keep the Heroku application read-only while the DNS propagates. See Domain and HTTPS.