-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
186 lines (147 loc) · 6.11 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# 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
###> itkdev-docker configuration ###
COMPOSE_PROJECT_NAME=nsek
COMPOSE_DOMAIN=naevnssekretariatet.local.itkdev.dk
###< itkdev-docker configuration ###
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=e248599aac0652bbae8be186ff450f6b
###< symfony/framework-bundle ###
###> Site configuration ###
SITE_NAME=TVIST1
SITE_URL=naevnssekretariatet.local.itkdev.dk
###< Site configuration ###
DEFAULT_LOCALE=da
VIEW_TIMEZONE='Europe/Copenhagen'
###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
###< symfony/mailer ###
### default uri ###
DEFAULT_URI='http://naevnssekretariatet.local.itkdev.dk'
### default uri ###
###> itk-dev/openid-connect-bundle ###
ADMIN_OIDC_METADATA_URL=
ADMIN_OIDC_CLIENT_ID=
ADMIN_OIDC_CLIENT_SECRET=
ADMIN_OIDC_REDIRECT_ROUTE=default
ADMIN_OIDC_ALLOW_HTTP=false
BOARD_MEMBER_OIDC_METADATA_URL=
BOARD_MEMBER_OIDC_CLIENT_ID=
BOARD_MEMBER_OIDC_CLIENT_SECRET=
BOARD_MEMBER_OIDC_REDIRECT_ROUTE=authenticate-board-member
BOARD_MEMBER_OIDC_ALLOW_HTTP=false
CLI_REDIRECT=default
LEEWAY=10
###< itk-dev/openid-connect-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://db_user:[email protected]:5432/db_name?serverVersion=13&charset=utf8"
DATABASE_URL=mysql://db:db@mariadb:3306/db?serverVersion=mariadb-10.6.11&charset=utf8mb4
###< doctrine/doctrine-bundle ###
# Set these in .env.local
DATAFORDELER_API_USERNAME=''
DATAFORDELER_API_PASSWORD=''
# BBR data ttl in seconds.
BBR_DATA_TTL=604800
# Trusted proxies, set these in .env.local
TRUSTED_PROXIES=
# Default time zone (default: Europe/Copenhagen)
# DEFAULT_TIME_ZONE=
# Use environment variables set by symfony (cli) with fallback to docker compose values.
LIBREOFFICE_API_BASE_URL="http://${LIBREOFFICE_API_HOST:-libreoffice-api}:${LIBREOFFICE_API_PORT:-9980}"
# Digital post
DIGITAL_POST_SYSTEM_ID=''
DIGITAL_POST_AFSENDER_SYSTEM=''
DIGITAL_POST_MATERIALE_ID=''
DIGITAL_POST_FORSENDELSES_TYPE=''
AZURE_TENANT_ID=''
AZURE_APPLICATION_ID=''
AZURE_CLIENT_SECRET=''
AZURE_KEY_VAULT_NAME=''
AZURE_KEY_VAULT_SECRET=''
AZURE_KEY_VAULT_SECRET_VERSION=''
SERVICE_AGREEMENT_UUID=''
USER_SYSTEM_UUID=''
USER_UUID=''
SERVICE_UUID='fd885b8b-4a3f-46cb-b367-6c9dda1c78f6'
SERVICE_ENDPOINT='https://prod.serviceplatformen.dk/service/Print/Print/2'
SERVICE_CONTRACT='%kernel.project_dir%/vendor/itk-dev/serviceplatformen/resources/sf1600/wsdl/context/PrintService.wsdl'
# @see section 4.7.1 https://digst.dk/media/21046/digital-post-snitflader-v7-0-da.pdf
NUMBER_OF_ATTACHMENTS_ALLOWED=10
# According to above documentation max size is 99.5MB after base64 encoding which has an overhead of 33-36%
# @see https://en.wikipedia.org/wiki/Base64
TOTAL_FILESIZE_ALLOWED=70000000
# Document upload
FILE_MAX_SIZE=$TOTAL_FILESIZE_ALLOWED
# CPR service
AZURE_KEY_VAULT_CPR_NAME=''
AZURE_KEY_VAULT_CPR_SECRET=''
AZURE_KEY_VAULT_CPR_SECRET_VERSION=''
SERVICEPLATFORMEN_CPR_SERVICE_AGREEMENT_UUID=''
SERVICEPLATFORMEN_CPR_USER_SYSTEM_UUID=''
SERVICEPLATFORMEN_CPR_USER_UUID=''
SERVICEPLATFORMEN_CPR_SERVICE_UUID=''
SERVICEPLATFORMEN_CPR_SERVICE_ENDPOINT=''
SERVICEPLATFORMEN_CPR_SERVICE_CONTRACT='%kernel.project_dir%/vendor/itk-dev/serviceplatformen/resources/person-base-data-extended-service-contract/wsdl/context/PersonBaseDataExtendedService.wsdl'
# Cvr service
AZURE_KEY_VAULT_DATAFORDELER_NAME=''
AZURE_KEY_VAULT_DATAFORDELER_SECRET=''
AZURE_KEY_VAULT_DATAFORDELER_SECRET_VERSION=''
DATAFORDELER_CVR_LOOKUP_BASE_URL=''
###> symfony/messenger ###
# Choose one of the transports below
MESSENGER_TRANSPORT_DSN='doctrine://default'
MESSENGER_TRANSPORT_DSN_DIGITAL_POST='doctrine://default?queue_name=digital_post'
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_TRANSPORT_DSN_FAILED='doctrine://default?queue_name=failed'
MESSENGER_TRANSPORT_DSN_FAILED_DIGITAL_POST='doctrine://default?queue_name=digital_post_failed'
###< symfony/messenger ###
# Url to OS2Forms.
# Placeholders:
#
# %CASE_ID%: The current case id
#
HEARING_POST_FORM_URL='https://os2forms.example.com/tvist1-borger?case-id=%CASE_ID%'
# Text to show on hearing post form link (will not be translated). If empty, the
# text "Open hearing post form" (with translation applied) will be used.
HEARING_POST_FORM_LINK_TEXT=''
# OS2Forms required tokens
TVIST1_API_TOKEN=''
SELVBETJENING_USER_API_TOKEN=''
# Optional user signature height (default: 2cm)
USER_SIGNATURE_HEIGHT='2cm'
# Set these in .env.local
AZURE_KEY_VAULT_SF1601_NAME=''
AZURE_KEY_VAULT_SF1601_SECRET=''
AZURE_KEY_VAULT_SF1601_VERSION=''
# Set these in .env.local
SF1601_AUTHORITY_CVR=''
SF1601_SENDER_LABEL='Aarhus Kommune'
SF1601_FORSENDELSES_TYPE_IDENTIFIKATOR='0'
SF1601_TEST_MODE='true'
# Set to `-1 day`, say, to effectively disable cache.
# Run `bin/console cache:pool:clear cache.app` after changing this.
SF1601_POST_FORESPOERG_CACHE_EXPIRE_AT='+1 day'
# Maximum attachment sizes for digital and physical post, respectively.
# 79691776 = 76 * 1024²
SF1601_DIGITAL_POST_MAX_SIZE=79691776
# 7340032 = 7 * 1024²
SF1601_PHYSICAL_POST_MAX_SIZE=7340032