-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path.env.dist
More file actions
65 lines (53 loc) · 2.76 KB
/
.env.dist
File metadata and controls
65 lines (53 loc) · 2.76 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
# Disable auto-updating of docker-dev by setting this to 0
AUTO_UPDATE=1
# set the path here to your local src path
LOCAL_SRC=/your/totara/src/path
# Containers to start when the 'tup' command is run without any arguments
# Like most CMSes, Totara requires a webserver, a database, and PHP
# It is recommended to use nginx, and the latest version of postgres and PHP for better performance
# Note that specifying just 'php' will automatically use the latest version of PHP that the Totara site supports
DEFAULT_CONTAINERS=nginx,pgsql16,php
# PHP container to run cron within
# This is so that there aren't multiple cron daemons running if you have multiple PHP containers running at once
CRON_CONTAINER=none # replace with php-8.3, php-8.4 etc to enable cron
# Set the restart policy for containers
# If set to 'no', containers will only start when you manually start them via `tup`
# If set to 'unless-stopped', containers will restart upon rebooting/crashing
RESTART_POLICY=unless-stopped
# set this to your local IP address
# for mac just use "host.docker.internal"
# for linux run command "docker run --rm alpine ip -4 route list match 0/0 | cut -d' ' -f3" and use the resulting ip address
# most probably it is 172.17.0.1
HOST_IP=host.docker.internal
# Uncomment and change the following to a full path on your host
# If not specified tdb will use the folder "tdb_backup" in your home directory
#TDB_BACKUP_PATH="/your/path/to/backup/location"
# Set your preferred shell (used by things like tphp). bash and zsh are available.
INTERACTIVE_SHELL=zsh
# Set this to 1 to use Nerdfont icons with zsh within the php containers
# This requires a Nerdfont to be installed in your terminal - see https://www.nerdfonts.com/font-downloads
USE_ZSH_NERDFONT=0
# Uncomment this to use mutagen on MacOS (to speed up docker volume syncing)
#USE_MUTAGEN=1
# Build settings (this will have an affect on build only)
TIME_ZONE=Pacific/Auckland
# Machine Learning (T15+)
# Set this to the root of the Totara project you want to run
# machine learning on. If you run multiple instances then it must point
# to a single instance. This is *not* the /server directory, but the one above.
# ML_TOTARA_PROJECT=/your/totara/src/project
# Point to the web root of your Totara project you are connecting the ML service to.
# ML_TOTARA_URL=http://totara73/my-project/server
# Whether to run in dev mode or production mode. 1 = dev, 0 = prod. Defaults to 1.
# ML_DEV=1
#
# Optional Machine Learning settings.
# These are all documented in totara/extensions/ml_service/readme.md
# ML_RECOMMENDATION_RETRAIN_FREQ=1440
# ML_NUM_THREADS=4
# ML_RECOMMENDATION_ALGORITHM=hybrid
# Defaults - don't change these unless you really need to
REMOTE_SRC=/var/www/totara/src
REMOTE_DATA=/var/www/totara/data
MYSQL_ROOT_PW=root
MSSQL_SA_PW=Totara.Mssql1