Remove inline env from docker-compose.prod.yml

This commit is contained in:
Phillip Kühne 2023-03-30 02:22:02 +02:00
parent 2a8040642a
commit d33006251e
Signed by: phillip
GPG Key ID: E4C1C4D2F90902AA

View File

@ -7,22 +7,12 @@ secrets:
services: services:
karaoqueue: karaoqueue:
image: "phillipkhne/karaoqueue:latest" image: "phillipkhne/karaoqueue:latest"
build: .
restart: always restart: always
ports: ports:
- "127.0.0.1:8081:80" # Please put a reverse proxy in front of this - "127.0.0.1:8081:80" # Please put a reverse proxy in front of this
environment: env_file: .env
DEPLOYMENT_PLATFORM: Docker
DBSTRING: mysql://user:pass@host:3306/database
BASIC_AUTH_USERNAME: admin
BASIC_AUTH_PASSWORD: changeme
ENTRY_QUOTA: 3
MAX_QUEUE: 20
db: db:
image: mariadb image: mariadb
restart: always restart: always
environment: env_file: .env
MARIADB_ROOT_PASSWORD: changeme!
MARIADB_ROOT_HOST: localhost
MARIADB_DATABASE: karaoqueue
MARIADB_USER: karaoqueue
MARIADB_PASSWORD: change