move DB credentials to environment variables

This commit is contained in:
ari melody 2024-11-09 23:36:18 +00:00
parent 96cc64464f
commit 1667921f5b
Signed by: ari
GPG key ID: CF99829C92678188
4 changed files with 38 additions and 8 deletions

View file

@ -7,8 +7,12 @@ services:
volumes:
- ./uploads:/app/uploads
environment:
HTTP_DOMAIN: "https://arimelody.me"
ARIMELODY_PORT: 8080
ARIMELODY_HTTP_DOMAIN: "https://arimelody.me"
ARIMELODY_DB_HOST: db
ARIMELODY_DB_NAME: arimelody
ARIMELODY_DB_USER: arimelody
ARIMELODY_DB_PASS: fuckingpassword
DISCORD_ADMIN: # your discord user ID.
DISCORD_CLIENT: # your discord OAuth client ID.
DISCORD_SECRET: # your discord OAuth secret.