Introduce "dev environment" and dotenv

There are now two dockerfiles. One for production, one for development.
All configuration is now also handled through dotenv files,
which these dotenv files, as well as the included VSCode launch tasks
use.
This commit is contained in:
2023-03-28 00:54:04 +02:00
parent 831166f38b
commit b8220732ee
7 changed files with 112 additions and 93 deletions

14
.env.dev Normal file
View File

@ -0,0 +1,14 @@
# MariaDB
MARIADB_ROOT_PASSWORD=mariadb_root_password
MARIADB_ROOT_HOST=localhost
MARIADB_DATABASE=karaoqueue
MARIADB_USER=karaoqueue
MARIADB_PASSWORD=mariadb_karaoqueue_password
# Karaoqueue
DEPLOYMENT_PLATFORM=Docker
DBSTRING=mysql://karaoqueue:mariadb_karaoqueue_password@127.0.0.1:3306/karaoqueue
BASIC_AUTH_USERNAME=admin
BASIC_AUTH_PASSWORD=change_me
ENTRY_QUOTA=3
MAX_QUEUE=20