forked from danskernesdigitalebibliotek/ddb-cover-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
55 lines (44 loc) · 1.83 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
# Use by development docker setup.
COMPOSE_PROJECT_NAME=cover-service
COMPOSE_DOMAIN=cover.local.itkdev.dk
# This file defines all environment variables that the application needs.
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE.
# Use ".env.local" for local overrides during development.
# Use real environment variables when deploying to production.
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=4501ce61ff46591fa2f11036970164b1
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='^https?://localhost(:[0-9]+)?$'
###< nelmio/cors-bundle ###
###> doctrine/doctrine-bundle ###
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# Configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=mysql://db:[email protected]:3306/db
###< doctrine/doctrine-bundle ###
###> custom ###
# These setting are used to authenticate against the open platform.
OPENPLATFORM_AUTH_ID=myId
OPENPLATFORM_AUTH_SECRET=mySecret
OPENPLATFORM_AUTH_URL=https://auth.dbc.dk/oauth/token
# Configuration used to get information from open search through the open
# platform.
OPENPLATFORM_SEARCH_URL=https://openplatform.dbc.dk/v3/search
OPENPLATFORM_SEARCH_INDEX='dkcclterm.is'
OPENPLATFORM_SEARCH_TTL=86400
ELASTIC_STATS_INDEX=stats_$(date +%d-%m-%Y)
DATAWELL_VENDOR_AGENCY=775100
DATAWELL_VENDOR_PROFILE='opac'
###< custom ###
###> enqueue/redis ###
ENQUEUE_DSN=redis://redis:6379
###< enqueue/redis ###
###> ES ###
ELASTIC_HOST=elasticsearch
ELASTIC_PORT=9200
###< ES ###