remove pointless export commands, include .env in the dockerfile

pull/136/head
Perjury 2023-03-05 18:41:01 +02:00
parent 2fb93834f9
commit f00ba596e3
2 changed files with 23 additions and 20 deletions

View File

@ -1,3 +1,4 @@
version: "3"
services:
files:
container_name: "rDrama"
@ -20,6 +21,8 @@ services:
options:
max-size: "100k"
max-file: "1"
env_file:
- .env
redis:

View File

@ -1,20 +1,20 @@
export FLASK_APP="/rDrama/files/cli:app"
export SITE="localhost"
export SITE_NAME="rDrama"
export SECRET_KEY="blahblahblah"
export DATABASE_URL="postgresql://postgres@postgres:5432"
export REDIS_URL="redis://redis:6379"
export PROXY_URL="http://localhost:18080"
export LOG_DIRECTORY="/var/log/rdrama"
export SETTINGS_FILENAME="/site_settings.json"
export GIPHY_KEY="blahblahblah"
export TURNSTILE_SITEKEY="blahblahblah"
export TURNSTILE_SECRET="blahblahblah"
export YOUTUBE_KEY="blahblahblah"
export VAPID_PUBLIC_KEY="blahblahblah"
export VAPID_PRIVATE_KEY="blahblahblah"
export DONATE_SERVICE="blahblahblah"
export DONATE_LINK="https://blahblahblah"
export CF_KEY="blahblahblah"
export CF_ZONE="blahblahblah"
export DEBIAN_FRONTEND="noninteractive"
FLASK_APP="/rDrama/files/cli:app"
SITE="localhost"
SITE_NAME="rDrama"
SECRET_KEY="blahblahblah"
DATABASE_URL="postgresql://postgres@postgres:5432"
REDIS_URL="redis://redis:6379"
PROXY_URL="http://localhost:18080"
LOG_DIRECTORY="/var/log/rdrama"
SETTINGS_FILENAME="/site_settings.json"
GIPHY_KEY="blahblahblah"
TURNSTILE_SITEKEY="blahblahblah"
TURNSTILE_SECRET="blahblahblah"
YOUTUBE_KEY="blahblahblah"
VAPID_PUBLIC_KEY="blahblahblah"
VAPID_PRIVATE_KEY="blahblahblah"
DONATE_SERVICE="blahblahblah"
DONATE_LINK="https://blahblahblah"
CF_KEY="blahblahblah"
CF_ZONE="blahblahblah"
DEBIAN_FRONTEND="noninteractive"