-
Notifications
You must be signed in to change notification settings - Fork 56
/
.env
138 lines (112 loc) · 4.03 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
# 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
###> symfony/framework-bundle ###
APP_ENV=dev
APP_DEBUG=1
APP_SECRET=CHANGEME
APP_LOCALE=en
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS=localhost,example.com
###< symfony/framework-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 a sqlite database, use: "sqlite://%kernel.project_dir%/var/data.db"
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls
DATABASE_URL=pgsql://[email protected]/publisher_%kernel.environment%?charset=utf8&serverVersion=9
DOCTRINE_CACHE_DRIVER=memcached
###< doctrine/doctrine-bundle ###
###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_URL=smtp://localhost
###< symfony/swiftmailer-bundle ###
SWP_DOMAIN=localhost
FS_MAIN_ADAPTER=local_adapter
FS_AWS_S3_VERSION=latest
FS_AWS_S3_ENDPOINT=
FS_AWS_S3_REGION=
FS_AWS_S3_KEY=
FS_AWS_S3_SECRET=
FS_AWS_S3_PREFIX=
FS_AWS_S3_BUCKET=
# GCT CONFIG
#FS_MAIN_ADAPTER=gcs_adapter
#FS_GOOGLE_CREDENTIALS=your_file_name.json # faile must be stored in config/gcs/your_file_name.json
#FS_GOOGLE_BUCKET=your-bucket-name
CACHE_SERVERS='["localhost"]'
SUPERDESK_SERVERS='["localhost:3000"]'
###> sentry/sentry-symfony ###
SENTRY_DSN=''
###< sentry/sentry-symfony ###
SESSION_MEMCACHED_HOST=localhost
SESSION_MEMCACHED_PORT=11211
SESSION_MEMCACHED_PREFIX=sess
SESSION_MEMCACHED_EXPIRE=3600
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN='http://superdesk.local:8080'
###< nelmio/cors-bundle ###
RABBIT_MQ_HOST=127.0.0.1
RABBIT_MQ_PORT=5672
RABBIT_MQ_USER=guest
RABBIT_MQ_PASSWORD=guest
RABBIT_MQ_VHOST=/
WEBSOCKET_PORT=8080
WEBSOCKET_HOST=127.0.0.1
WEBSOCKET_QUEUE_NAME=swp_websocket
WEBSOCKET_EXCHANGE_NAME=swp_websocket_exchange
PAYWALL_SERVER_URL=localhost
PAYWALL_SERVER_USERNAME=
PAYWALL_SERVER_PASSWORD=
SUBSCRIPTIONS_CACHE_LIFETIME=86400
FIXTURES_TYPE=dev
ELASTICA_HOST=localhost
ELASTICA_PORT=9200
ELASTICA_INDEX_NAME='swp_index'
TEST_ENV=doctrine
###> 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=5452ca2757732594ee847d58c0cd7508
###< lexik/jwt-authentication-bundle ###
ANALYTICS_HOST=
ELASTICA_ARTICLE_EXTRA_FIELDS='[]'
SLUG_REGEX=
WEBP_CONVERSION_ENABLED=true
REDIRECT_NOT_FOUND_ARTICLES_TO_ROUTE=false
SUPERDESK_THUMBNAIL_RENDITION_NAME=original
SUPERDESK_VIEW_IMAGE_RENDITION_NAME=original
LOG_DOMAIN=
LOG_PORT=
EXTERNAL_OAUTH_CLIENT_ID=
EXTERNAL_OAUTH_CLIENT_SECRET=
EXTERNAL_OAUTH_ENDPOINT_AUTH=
EXTERNAL_OAUTH_ENDPOINT_TOKEN=
EXTERNAL_OAUTH_ENDPOINT_USERINFO=
GEO_IP_ENABLED=false
GEO_IP_LICENSE_KEY=
GEO_IP_EDITION_ID=
###> symfony/messenger ###
MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
###< symfony/messenger ###
###> symfony/mailer ###
MAILER_DSN=smtp://localhost
###< symfony/mailer ###
###> symfony/lock ###
LOCK_DSN=memcached://${SESSION_MEMCACHED_HOST}:${SESSION_MEMCACHED_PORT}
###< symfony/lock ###
PUBLIC_SUFFIX_LIST_ENDPOINT=
PUBLIC_SUFFIX_LIST_FILENAME=public_suffix_list.dat