Sold Need a Dockerfile with MariaDB setup for Heroku

Discussion in 'All Other Game Services for Sale - Buy & Sell' started by Hack Forums - Service, 4/11/20.

Thread Status:
Not open for further replies.
  1. Hack Forums - Service

    Hack Forums - Service
    Expand Collapse
    High Risk Status: This user has been flagged as high risk due to one or more reasons

    0   0   0

    Online
    I need a Dockerfile that installs 3 things:
    • Installs and sets up Apache
    • Installs and sets up PHP
    • Installs and sets up MariaDB

    It must be able to:
    • Must use Alpine (No Ubuntu or Debian), Apache, PHP, and MariaDB
    • Must be deployable to Heroku
    • Everything must be in one Dockerfile, no docker-compose. (You can use an entry point script to start Apache but keep in mind, according to Heroku, its cant run as root)
    • No outside services or add-ons like JawsDB. I understand that anything in MariaDB is not persistant in a dyno, thats the goal
    • PHP should be able to read/write to directories (so take care of folder permissions) and be able to access MariaDB, create tables, etc

    The problem I am having with this is that Heroku does not allow root use so thing like
    Code
    /usr/bin/mysqld --user=<anyuser> --bootstrap --verbose=0 < $tfile

    since --user requires root. In fact, nothing can run as root.

    Ill pay in BTC

    Start Contract
     
    • This user is inactive. Hasn't logged into their account in over 60 days.
Thread Status:
Not open for further replies.