-
Notifications
You must be signed in to change notification settings - Fork 81
/
.env
129 lines (113 loc) · 4.33 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# In all environments, the following files are loaded if they exist,
# the later 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/configuration.html#infrastructure-related-configuration
# Define the App Environment
APP_VERSION='24.10.3'
APP_ENV=dev
APP_DEBUG=0
APP_NAME="PocketCode Share"
APP_SECRET=93055246cfa39f62f5be97928084989a
SECURE_SCHEME="https"
LOCALE=en
# Ask your friendly coordinator for credentials to deploy to the servers
#DEPLOY_GIT=https://github.com/Catrobat/Catroweb.git
#SLACK_WEBHOOK=
#DEPLOY_SHARE=
#DEPLOY_SHARE_BRANCH=
###> lexik/jwt-authentication-bundle ###
# !!!Important!!! Keys and password must be overwritten in env.prod for production
JWT_SECRET_KEY=%kernel.project_dir%/.jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/.jwt/public.pem
JWT_PASSPHRASE=catroweb
JWT_TTL=3600
###< lexik/jwt-authentication-bundle ###
###> gesdinet/jwt-refresh-token-bundle ###
REFRESH_TOKEN_TTL=2592000
###< gesdinet/jwt-refresh-token-bundle ###
###> symfony/framework-bundle ###
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'
###< 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=8.0.31"
# DATABASE_URL="postgresql://db_user:[email protected]:5432/db_name?serverVersion=13.3.12&charset=utf8"
#
DATABASE_URL=pdo-mysql://root:root@localhost/catroweb_dev
DATABASE_DRIVER=pdo_mysql
DATABASE_NAME=catroweb_dev
DATABASE_PASSWORD=root
DATABASE_USER=root
#
###< doctrine/doctrine-bundle ###
###> google/apiclient ###
#
# Make sure to use correct settings in the prod environment.
#
GOOGLE_API_KEY=''
GOOGLE_CLIENT_ID='123456789-123456789.apps.googleusercontent.com'
GOOGLE_CLIENT_SECRET='secret'
#
###< google/apiclient ###
###> jenkins ###
#
# Jenkins is used to build standalone apks from catrobat projects.
# Make sure to adapt the settings for each environment.
#
JENKINS_URL='http://localhost'
JENKINS_JOB='Build'
JENKINS_TOKEN='token'
JENKINS_UPLOAD_TOKEN='secret'
#
###< jenkins ###
###> friendsofsymfony/elastica-bundle ###
ELASTICSEARCH_URL=http://localhost:9200/
ES_HOST=localhost
ES_PORT=9200
###< friendsofsymfony/elastica-bundle ###
###> hwi/oauth-bundle ###
GOOGLE_ID=''
GOOGLE_SECRET=''
FB_ID=''
FB_SECRET=''
APPLE_ID=''
APPLE_SECRET=''
#
# Multiline representation currently buggy => 'Caused by: io.github.cdimascio.dotenv.DotenvException: Malformed entry'
# Maybe revert in the future
#
FB_OAUTH_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt8PoehZlIGzBqrm8fLTr\n2vVkLC1H/CYCv7DFz16KGiTVqMEyKiAYoCudcmtGJTJ5+Do62Zvl+VRwpOMmNUof\nEfe7ngUYNWu1/cab3P74HxGDy3mBcBZUhBk7V+nvN/j+mWCfDRaKxZZUjv1TVLUa\n990kUHnPchwyVMFEIrP//xhY5z0K8FijfKuSgjeBuXT5wRreUP7Y9L4v8WjnWuUM\nteptT5Oh+k0E13Oui4hCIELGW2tMnmrPjb6ObGx4swKN5wAePZeJ4mP0Xn39G8Vd\n+bkMtZeosNmo6S/oNIdE+TfKT0Hpe4HK4ft4MWtMyzj27zEqqCfzqNfMqiNIYjHb\nHwIDAQAB\n-----END PUBLIC KEY-----"
###< hwi/oauth-bundle ###
###> translation ###
ITRANSLATE_API_KEY=''
###< translation ###
###> google cloud ###
# GOOGLE_APPLICATION_CREDENTIALS='/var/www/catroweb/google_cloud_key.json'
###< google cloud ###
###> symfony/mailer ###
MAILER_DSN='null://null'
###< symfony/mailer ###
###> symfony/brevo-mailer ###
# MAILER_DSN=brevo+api://KEY@default
# MAILER_DSN=brevo+smtp://USERNAME:PASSWORD@default
###< symfony/brevo-mailer ###
###> bugsnag/bugsnag-symfony ###
BUGSNAG_API_KEY=''
###< bugsnag/bugsnag-symfony ###
###> Google Analytics ###
GTM_CONTAINER_ID=''
###< Google Analytics ###