-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
129 lines (107 loc) · 4.12 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
APP_ROUTER_DEFAULT_URI=http://roadiz-core-app.test
APP_COOKIE_SECURE=0
APP_NAMESPACE=dev
APP_TITLE="Roadiz development app"
APP_DESCRIPTION="Roadiz development app"
APP_VERSION=0.1.0
APP_FFMPEG_PATH=/usr/bin/ffmpeg
# Define values in Vault
#APP_UNSPLASH_CLIENT_ID=
#APP_GOOGLE_SERVER_ID=
#APP_SOUNDCLOUD_CLIENT_ID=
#APP_RECAPTCHA_PRIVATE_KEY=
APP_RECAPTCHA_PUBLIC_KEY=
APP_HEALTH_CHECK_TOKEN=
APP_CLOUDFLARE_ZONE=
APP_CLOUDFLARE_BEARER=
UID=1000
VARNISH_URL=http://varnish
VARNISH_DOMAIN=varnish
HTTP_CACHE_MAX_AGE=60
HTTP_CACHE_SHARED_MAX_AGE=600
#OPEN_ID_DISCOVERY_URL=https://accounts.google.com/.well-known/openid-configuration
#OPEN_ID_HOSTED_DOMAIN=
#OPEN_ID_CLIENT_ID=
#OPEN_ID_CLIENT_SECRET=
SOLR_HOST=solr
SOLR_PORT=8983
SOLR_CORE_NAME=roadiz
PUBLIC_APP_PORT=8681
PUBLIC_VARNISH_PORT=8682
PUBLIC_APP_HTTPS_PORT=4431
PUBLIC_PMA_PORT=8686
PUBLIC_SOLR_PORT=8684
PUBLIC_MAILER_PORT=8625
PUBLIC_DB_PORT=33060
SMTP_MAILER_PORT=1125
# To use with Traefik and your local dev environment
# On linux you can use dnsmasq to redirect all DNS for *.test TLD to your machine.
# Or just copy this line to your /etc/hosts
#
# 127.0.0.1 roadiz-core-app.test roadiz-core-app.local varnish.roadiz-core-app.test varnish.roadiz-core-app.local pma.roadiz-core-app.test pma.roadiz-core-app.local solr.roadiz-core-app.test solr.roadiz-core-app.local mail.roadiz-core-app.test mail.roadiz-core-app.local
#
HOSTNAME=`^roadiz\-core\-app\.(test|local)$`
HOSTNAME_VARNISH=`^varnish\.roadiz\-core\-app\.(test|local)$`
HOSTNAME_PMA=`^pma\.roadiz\-core\-app\.(test|local)$`
HOSTNAME_SOLR=`^solr\.roadiz\-core\-app\.(test|local)$`
HOSTNAME_MAILER=`^(mail|mailer)\.roadiz\-core\-app\.(test|local)$`
PATH_PREFIX=`(?i)^/(rz\-admin|files|assets|themes|bundles|api|_wdt|_profiler|css/main\-color\.css|custom\-form|css/login/image)`
DEFAULT_GATEWAY=172.58.0.0
###> rezozero/intervention-request-bundle ###
IR_DEFAULT_QUALITY=90
IR_MAX_PIXEL_SIZE=2500
IR_DRIVER=gd
###< rezozero/intervention-request-bundle ###
###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=doctrine://default
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
MESSENGER_TRANSPORT_DSN=redis://redis:6379/messages
###< symfony/messenger ###
TRUSTED_PROXIES=REMOTE_ADDR
###> sentry/sentry-symfony ###
SENTRY_DSN=
###< sentry/sentry-symfony ###
###> 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=changeme
###< lexik/jwt-authentication-bundle ###
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=
REDIS_DSN=redis://redis
###< 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&charset=utf8mb4"
DATABASE_URL="mysql://db_user:db_password@db/db_name?serverVersion=8.0.40&charset=utf8mb4"
# DATABASE_URL="postgresql://db_user:[email protected]:5432/db_name?serverVersion=13&charset=utf8"
# MariaDB
# DATABASE_URL="mysql://db_user:db_password@db/db_name?serverVersion=mariadb-10.11.9&charset=utf8mb4"
###< doctrine/doctrine-bundle ###
###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
# Docker App scope
MAILER_DSN=smtp://mailer:1025
###< symfony/mailer ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
USER_PASSWORD_RESET_URL=https://roadiz-core-app.test/front/user/reset
USER_VALIDATION_URL=https://roadiz-core-app.test/front/user/validate
USER_PASSWORD_RESET_EXPIRES_IN=600
USER_VALIDATION_EXPIRES_IN=3600
SCALEWAY_STORAGE_ENDPOINT=
SCALEWAY_STORAGE_ID=
SCALEWAY_STORAGE_SECRET=
SCALEWAY_STORAGE_BUCKET=
SCALEWAY_STORAGE_REGION=
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###