This repository was archived by the owner on Nov 26, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.standalone.example
More file actions
217 lines (153 loc) · 6.08 KB
/
Copy path.env.standalone.example
File metadata and controls
217 lines (153 loc) · 6.08 KB
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# ----------------------------------------------------------------------------------------------------------------
# USER CONFIGURATION
# ----------------------------------------------------------------------------------------------------------------
# ============================== AWS ==============================
# You will need an AMI programatic user with full route 53 access and full s3 access.
AWS_ACCESS_KEY=<CHANGE_ME>
AWS_SECRET_KEY=<CHANGE_ME>
# Example: eu-west-1
AWS_ZONE=<CHANGE_ME>
# ============================== Lightweight plugit proxy ==============================
# Postgres database password.
DATABASE_PASSWORD=<CHANGE_ME>
# Django secret key
SECRET_KEY=<CHANGE_ME>
# Super user username.
SU_NAME=<CHANGE_ME>
# Super user email.
SU_EMAIL=<CHANGE_ME>
# Super user password.
SU_PASSWORD=<CHANGE_ME>
# ============================== RadioDns ==============================
# Mysql database password for root user.
MYSQL_ROOT_PASSWORD=<CHANGE_ME>
# API secret. Random string defined by hand.
API_SECRET=<CHANGE_ME>
# Main domain of the manager. Example: free.staging-radiodns.com
MAIN_DOMAIN=<CHANGE_ME>
##================ CDN ======================
# If you want to use the aws cloudfront integration to deliver spi files.
USES_CDN=False
# Name of the bucket that will hold the SPI files. Please ensure that this name follow this set of rules:
# https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
SPI_BUCKET_NAME=
# The SPI file generator executor will batch SPI file updates in order to be more efficient.
# Here you can specify how much time shall pass between each updates. In seconds.
SPI_GENERATION_INTERVAL=300
# The cloudfront domain that will serve the SPI files.
SPI_CLOUDFRONT_DOMAIN=
# ============================== Radio VIS ==============================
# The username of rabbitmq superuser.
RABBITMQ_USER=<CHANGE_ME>
# The password of rabbitmq superuser.
RABBITMQ_PASSWORD=<CHANGE_ME>
# Hostname where the Rabbitmq control pannel will be accessible
VIS_ADMIN_HOSTNAME=<CHANGE_ME>
# Endpoint to the VIS player of radiodns manager.
VIS_WEB_SOCKET_ENDPOINT_HOST=<CHANGE_ME>
# ----------------------------------------------------------------------------------------------------------------
# INNER CONFIGURATION
# ----------------------------------------------------------------------------------------------------------------
# If you don't know what you are doing better leave this part as it is.
# ----------------------------------------------------------------------------------------------------------------
##============== DOCKER OPTIONS ===========
DOCKER_REPOSITORY=ebutech
# ============================== Common settings ==============================
# If true, debug messages will appear the radiodns manager will have less contraints for the client identifier feature.
DEBUG=False
# Max time to wait between database connection attempts. In seconds.
DATABASE_CONNECTION_MERCY_TIME=60
VIS_INTERNAL_HOST=vis_server
# ============================== Lightweight plugit proxy database ==============================
# Postgres user.
DATABASE_USER=root
# Postgres database name.
DATABASE_NAME=lpp
# ============================== Lightweight plugit proxy ==============================
# Port to listen to inside the docker container.
LPP_PORT=4000
# RadioDns url.
PLUGIT_APP_URL=http://dns_server:5000/
# Database host for the lightweight plugit proxy.
DATABASE_HOST=lpp_database
# Database posrt for the lightweight plugit proxy.
DATABASE_PORT=5432
# Django allowed hosts to connect to it. A list to provide of allowed hosts seperated by a comma. Example: "127.0.0.1,localhost"
ALLOWED_HOSTS=*
# ============================== RadioDNS database ==============================
# Mysql database name.
MYSQL_DATABASE=radiodns
# ============================== RadioDNS ==============================
# Port to listen to inside the docker container.
RADIO_DNS_PORT=5000
# Url to the lightweight plugit proxy (lpp).
API_URL=http://lpp:4000/
# XSI
XSISERVING_ENABLED=True
RADIOVIS_PORT=61613
RADIOEPG_PORT=80
RADIOTAG_PORT=80
RADIOSPI_PORT=443
# Enables the radio tag service.
RADIOTAG_ENABLED=False
# If true wont use any AWS ressources.
STANDALONE=False
# Allowed origin for this service.
PI_ALLOWED_NETWORKS=0.0.0.0/0
# logging options
FLASK_LOG_PATH=
FLASK_LOG_SIZE=
# Version of this service.
PI_API_VERSION=1.0.0
# Name of this service.
PI_API_NAME=RadioDns free from ebu.
# XML and IMGs chache max-age options (in seconds).
XML_CACHE_TIMEOUT=0
IMG_CACHE_TIMEOUT=0
# ============================== RadioVIS ==============================
# The host of rabbitmq inside the docker network.
RABBITMQ_HOST=rabbitmq
# The port of rabbitmq inside the docker network.
RABBITMQ_PORT=5672
# Namespace for VIS queues, exchanges and bindings.
RABBITMQ_VHOST=/
# If set to true will enable rabbitmq debug mode.
RABBITMQ_DEBUG=False
# VIS exchange type.
RABBITMQ_EXCHANGE=amq.fanout
# If true enables the monitoring of rabbitmq.
MONITORING_ENABLED=True
# The host where the monitoring service should connect. This is the rabbitmq instance inside the docker network.
MONITORING_HOST=rabbitmq
# The post where the monitoring service should connect.
MONITORING_PORT=5672
# Which VHOST the monitoring should watch.
MONITORING_VHOST=/
# If true enables the monitoring of rabbitmq.
MONITORING_DEBUG=False
# The monitoring exchange.
MONITORING_EXCHANGE=monitoring.buffer
# The monitoring queue.
MONITORING_QUEUE=radiovis
# Rabbitmq server id.
MONITORING_SERVER_ID=rabbit@radiodnsrabbitmq
# The allowed ips to connect to the stomp server. For example: 127.0.0.1,192.168.1.1
STOMP_IP=0.0.0.0
# The stmop server listening port.
STOMP_PORT=61613
# Max age for a cached RadioDns server VIS rest api response.
FB_CHANNEL_CACHE=60
# The fallback process queue.
FB_QUEUE=fallbacklogs
# The fallback check interval.
FB_FALLBACK_CHECK=15
# The time before a channel is considered dead
FB_FALLBACK_TIME=60
# Should be the public url of lpp.
FB_IMAGE_LOCATIONS=
# Cleanup logs if > 24h
FB_LOGS_MAX_AGE=86400
# Cleanup logs each 1h
FB_LOGS_CLEANUP=1200
# Memecached engine host inside the docker network.
MEMCACHED_HOST=memcached