-
Notifications
You must be signed in to change notification settings - Fork 3
/
.env
81 lines (67 loc) · 2.81 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
##########################################################
# Define application environment variables
#
# INFO: Real environment variables, e.g. ones that are
# configured in docker-compose config, or in env
# specific .env files (like .env.test) will
# override the following.
##########################################################
APP_NAME=Meals
APP_BASE_URL=https://meals.test
ASSETS_SERVER=
APP_EMAIL_ADMIN="admin@localhost"
APP_EMAIL_SENDER="%env(APP_NAME)% Bot <noreply@localhost>"
# Authentication mode:
# "classic": A classic login via the database
# "oauth": Login with via an OAuth-Provider
APP_AUTH_MODE="oauth"
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=98414ca3612ebba3061cf8c92c4a984e
###< symfony/framework-bundle ###
VITE_DEV_SERVER_URL=http://localhost:5173
###> doctrine/doctrine-bundle ###
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
#
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7"
DB_HOST=${DB_HOST:-localhost}
DB_PORT=${DB_PORT:-3306}
DB_NAME=${DB_NAME:-db-name}
DB_USER=${DB_USER:-db-user}
DB_PASS=${DB_PASS:-db-pass}
DB_VERS=${DB_VERS:-5.7}
DB_URL="mysql://%env(DB_USER)%:%env(DB_PASS)%@%env(DB_HOST)%:%env(DB_PORT)%/%env(DB_NAME)%?serverVersion=%env(DB_VERS)%&charset=utf8"
###< doctrine/doctrine-bundle ###
###> symfony/mercure-bundle ###
# See https://symfony.com/doc/current/mercure.html#configuration
# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
MERCURE_URL=https://example.com/.well-known/mercure
# The public URL of the Mercure hub, used by the browser to connect
MERCURE_PUBLIC_URL=https://example.com/.well-known/mercure
# The secret used to sign the JWTs
MERCURE_JWT_SECRET="ChangeMeChangeMeChangeMeChangeMe"
USE_FORWARDED_HEADERS=1
###< symfony/mercure-bundle ###
###> hwi/oauth-bundle (Single Sign-on) ###
IDP_SERVER="https://dummy-idp-provider/change-me"
IDP_CLIENT_ID="dummy-client-id"
IDP_CLIENT_SECRET="dummy-cl1ent-secret"
###< hwi/oauth-bundle ###
###> symfony/mailer ###
MAILER_DSN=smtp://localhost:1025
###< symfony/mailer ###
MATTERMOST_APP_NAME=Meals
MATTERMOST_NOTIFICATIONS=off
MATTERMOST_WEBHOOK_URL_MEAL_OFFERS=https://example.com/
MATTERMOST_WEBHOOK_URL_WEEKLY_MENU=https://example.com/
MATTERMOST_WEBHOOK_URL_SYSTEM_ERRORS=
# Total unpaid amount for the consumed meals that will trigger
# an acknowledgment popup on every page load. It must be negative.
PAYMENT_NOTIFICATION_DEBT=-50
# receiver email to receive the settlement requests
SETTLEMENT_REQ_EMAIL_RECEIVER=jon.doe@localhost
# PayPal integration
PAYPAL_ID=
PAYPAL_SECRET=