38
you are viewing a single comment's thread
view the rest of the comments
[-] Sickday@kbin.earth 7 points 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 1 points 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.

this post was submitted on 27 Aug 2025
38 points (100.0% liked)

Selfhosted

50966 readers
496 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS