-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy path.env
84 lines (70 loc) · 3.29 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
82
83
84
# In all environments, the following files are loaded if they exist,
# the latter taking precedence over the former:
#
# * .env contains default values for the environment variables needed by the app
# * .env.local uncommitted file with local overrides
# * .env.$APP_ENV committed environment-specific defaults
# * .env.$APP_ENV.local uncommitted environment-specific overrides
#
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
# API Platform distribution
TRUSTED_PROXIES=::1,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
ADDITIONAL_TRUSTED_HOSTS=localhost
COOKIE_PREFIX=localhost_
COOKIE_SECURE=false
VARNISH_API_URL=http://http-cache:8081
API_CACHE_ENABLED=true
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=!ChangeMe!
###< symfony/framework-bundle ###
###> 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"
DATABASE_URL="postgresql://ecamp3:ecamp3@database:5432/ecamp3?serverVersion=15&charset=utf8"
###< doctrine/doctrine-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=''
###< nelmio/cors-bundle ###
###> symfony/mailer ###
MAILER_DSN=smtp://mail:1025
###< symfony/mailer ###
###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=6521faf03b5be499f97cf0b40dc495f2
###< lexik/jwt-authentication-bundle ###
###> league/oauth2-google ###
OAUTH_GOOGLE_CLIENT_ID="889440431087-ueuhpadf2g7h5ucdke92mvfaf4l779m4.apps.googleusercontent.com"
OAUTH_GOOGLE_CLIENT_SECRET="HNaD1FNO-a1qliacIrIfcGqO"
###< league/oauth2-google ###
OAUTH_PBSMIDATA_CLIENT_ID="2a955efdaaac73f665b29ec182cd9a114db01675ced710a464d33d10f58be600"
OAUTH_PBSMIDATA_CLIENT_SECRET="00a23e48bcb776d453b255428ffe810643db7155a9f3d743d7edf52eac400580"
OAUTH_PBSMIDATA_BASE_URL="https://pbs.puzzle.ch"
OAUTH_CEVIDB_CLIENT_ID="raT1QFf6TOQzpn3yVH-My6YLrmsvOrfMhYypxzjPMWk"
OAUTH_CEVIDB_CLIENT_SECRET="fTxMrzjBn3gPGg3eB0bNMmjRqg4ccs3_su7CaTXtljE"
OAUTH_CEVIDB_BASE_URL="https://cevi.puzzle.ch"
OAUTH_JUBLADB_CLIENT_ID="WrKABq7GwmC6h1F0W73OGX_fOTHWWXnKXfrPMHOdQWY"
OAUTH_JUBLADB_CLIENT_SECRET="oQ164RDMIAocL6PhmCoeT1Ymcg-7WcOJZdxCnIph5gM"
OAUTH_JUBLADB_BASE_URL="https://jubla.puzzle.ch"
###> sentry/sentry-symfony ###
SENTRY_API_DSN=""
SENTRY_ENVIRONMENT="local"
###< sentry/sentry-symfony ###
FRONTEND_BASE_URL="http://localhost:3000"
MAIL_FROM_EMAIL="[email protected]"
MAIL_FROM_NAME="eCamp v3"
###> google/recaptcha ###
# To use Google Recaptcha, you must register a site on Recaptcha's admin panel:
# https://www.google.com/recaptcha/admin
RECAPTCHA_SECRET="disabled"
###< google/recaptcha ###
TRANSLATE_ERRORS_TO_LOCALES="en,de,fr,it,rm"