generated from itk-dev/itk-base-template-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
64 lines (56 loc) · 2.28 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
# Use by development docker setup.
COMPOSE_PROJECT_NAME=aapodwalk-api
COMPOSE_DOMAIN=aapodwalk-api.local.itkdev.dk
APP_ENV=dev
APP_SECRET=d37a780dd60d47975253e1359b650db2
###> 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://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
DATABASE_URL="mysql://db:db@mariadb:3306/db?serverVersion=10.11.10-MariaDB&charset=utf8mb4"
###< doctrine/doctrine-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
###> symfony/mailer ###
MAILER_DSN=smtp://mail:1025
###< symfony/mailer ###
# https://symfony.com/doc/current/mailer.html#configuring-emails-globally
MAILER_FROM='Aapodwalk <no-reply@example.com>'
DEFAULT_LOCALE=da
MEDIA_PROCESSOR_TEMPLATES='[
{
"pattern": "@^https://media.videotool.dk\\?vn=(?P<id>[^&#]+)$@",
"template": "<div style="position: relative; padding-bottom: 56.25%; height: 0;"><iframe aria-label="Podcast foredrag Nielse Peter Rygard om tilknytning og relationsdannelse" type="text/html" style="position: absolute; top: 0; left: 0; width: 100%!important; height: 100%!important;" src="https://media.videotool.dk/?vn=467_2020102709133646552404099503&ao=1" frameborder="0" allowfullscreen allow="autoplay; fullscreen"></iframe></div>"
},
{
"pattern": "@^https://media.videotool.dk\\?vn=(?P<id>[^&#]+)&is_audio=1$@",
"template": "audio"
}
]
'
# APP_APPS='[
# {
# "id": "aapodwalk",
# "name": "Podwalk",
# "url": "https://github.com/itk-dev/aapodwalk",
# "paths": {
# "route": "/route/{id}",
# "tag": "/tags/{id}"
# }
# }
# ]'
APP_APPS='[]'
ADMIN_SITE_MESSAGE='
<div class="alert alert-info mb-0" role="alert">
<div class="row">
<div class="col">
Edit this message in <a href=".env.local" class="alert-link">.env.local</a>:
<code>ADMIN_SITE_MESSAGE='…'</code> (set to the empty string to disable).
</div>
</div>
</div>
'