-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.sample
79 lines (65 loc) · 2.76 KB
/
.env.sample
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
##
# This file is only used by install.sh, if you change anything you will need to rerun install.sh for it to take effect.
# You may find it easier to edit the cloudlog config directory at: ./data/cloudlog/application/config/config.php
# This will be fixed in a future version
##
# This is used as a prefix for the docker containers
APP_NAME=log
# If you plan to make you log accessible to the internet then set this to false
# Self signed certificates will be used, of if you have your own certificates replace
# the files in ./data/certs/ (but keep the names the same)
# Your browser will give you security warnings due to the self-signed certificate but
# the session will still be encrypted
LOCAL=true
# This must be what you will type in to your browser to access Cloudlog
# eg if you have LOCAL=true and your docker host has an IP of 192.168.1.10 on your LAN
# then put https://192.168.10.1
# If hosting on a domain then put that here, eg https://log.m0spf.uk
# If you dont want https then you must delete the certificates in ./data/certs and change to http below (not recommended)
BASE_URL=https://localhost
# This is used by the proxy and letsencrypt, this has to be a name even if you intend to use an IP address
# So if you are using an IP address as BASE_URL then put log.local or something here
# If hosting on a domain then put that here eg. log.m0spf.uk
APP_HOSTNAME=log.local
# The application default language. It will be set only if the language directory exists.
# Visit https://github.com/magicbug/Cloudlog/tree/master/application/language to see available
# languages
LANGUAGE=english
# Set what ports the proxy should listen on (note for letsencrypt to work these must be 80,443)
HTTP_PORT=80
HTTPS_PORT=443
# MySQL database details - change the passwords to something sensible!
MYSQL_DATABASE=log
MYSQL_USER=log
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=password
# If set to true LetsEncrypt will generate test certificates (these will cause browser warnings)
TEST=false
# Cloudlog Account details - it's recommended to change your password on first log in
CALLSIGN=mycall
FIRST_NAME=Firstname
LAST_NAME=Lastname
EMAIL=my@email
CLOUDLOG_USERNAME=username
CLOUDLOG_PASSWORD=password
# Which callbook lookup service to use, either qrz or hamqth
CALLBOOK=qrz
QRZ_USERNAME=qrzuser
QRZ_PASSWORD=qrzpassword
HAMQTH_USERNAME=
HAMQTH_PASSWORD=
# Maidenhead locator
LOCATOR=IO81uu
# Display frequencies on log page
DISPLAY_FREQ=true
# Automatically upload to Clublog and LOTW (every 6 hours)
CLUBLOG_UPLOAD_CRON=true
LOTW_UPLOAD_CRON=true
# Automatically backup database and cloudlog every night
# Backups stored in ./data/backup directory
AUTO_BACKUPS=true
# Redis config
# Redis is currently broken with cloudlog
#SESSION_DRIVER=redis
#SESSION_SAVE_PATH=tcp://redis:6379
#SESSION_EXPIRATION=2629800