humanoidchaos@lemmy.cif.su to Selfhosted@lemmy.worldEnglish · 2 days agoHas anybody been able to successfully selfhost a 2009scape server?message-squaremessage-square13fedilinkarrow-up140arrow-down10
arrow-up140arrow-down1message-squareHas anybody been able to successfully selfhost a 2009scape server?humanoidchaos@lemmy.cif.su to Selfhosted@lemmy.worldEnglish · 2 days agomessage-square13fedilink
minus-squareCyanogenmon@lemmy.worldlinkfedilinkEnglisharrow-up1·1 day agoIf 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.
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
docker-compose.yml contents:
Don’t commit secrets to git!
Damn mobile formatting.