Skip to content

henriquegdantas/railway-mautic-dockerfile

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

Mautic Dockerfile for Railway

This example deploys a self-hosted version of mautic. Using apache variant. Make sure you also setup a mysql database in Railway.

💁‍♀️ How to use

  1. On your railway.app dashboard, setup a MySQL database
  2. Deploy this Dockerfile using the "from Github Repo" option
  3. Setup below environment variables via Railway dashboard

🌐 Environment Variables

MAUTIC_ADMIN_EMAIL=<your_email>
MAUTIC_ADMIN_PASSWORD=<mautic_web_password>
MAUTIC_DB_HOST=${{mysql.MYSQLHOST}}:${{mysql.MYSQLPORT}}
MAUTIC_DB_NAME=${{mysql.MYSQLDATABASE}}
MAUTIC_DB_PASSWORD=${{mysql.MYSQLPASSWORD}}
MAUTIC_DB_USER=${{mysql.MYSQLUSER}}
MAUTIC_TRUSTED_PROXIES='E.g.: ["0.0.0.0/0"]'
MAUTIC_URL=<your_fqdn_for_mautic>
PORT=80 # Set this to 80 so railway can properly connect to Mautic

📝 Notes

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%