• Sickday@kbin.earth
    link
    fedilink
    arrow-up
    8
    ·
    2 days ago

    Sure. I wrote the docker-compose file in the repository. Unless something major has changed, it should be pretty straightforward to just clone the repo and then run

    $ docker compose up
    
    • Cyanogenmon@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      If anybody uses this in prod from a git repo, might want to place your database creds in an .env file adjacent to your compose file then gitignore the .env.

      Referenced like so:

      .env contents

      MYSQL_ROOT_PASSWORD=MyExamplePassword

      MYSQL_ROOT_USER=MyExampleUser

      docker-compose.yml contents:

      MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}

      MYSQL_ROOT_USER: ${MYSQL_ROOT_USER}

      Don’t commit secrets to git!

      Damn mobile formatting.