tao.yaml config file
TAO Community Edition can be configured globally using a YAML file stored in /etc/tao-ce/config/tao.yaml.
About tao.yaml config file
The structure of this file is not definitive and can evolve in the future, to support more features.
Also, dependencies field support a limited set of external dependencies. More backend end settings may be added in the future.
Example of configuration file
spec:
publicDomain: community.tao.internal # (1)
defaultLocale: en-US # (2)
dependencies: # (3)
# [...]
- Domain name
- Default language
- External dependencies
Update tao.yaml file
Be careful
Any change in this file may require to re-install TAO Community Edition.
Reinstallation will completly remove data, including users, groups, tests and results.
You can edit this file and override it, either:
Change content from docker-compose.yml in configs > tao_config > content
Exemple of change in tao_config
configs:
tao_config:
content: |
spec:
publicDomain: tao.is-awesome.example.org
defaultLocale: fr-FR
dependencies:
# [...]
You can mount your own local file as a volume. In services > tao > volumes, add a line with:
Mount tao.yml as volume
services:
tao:
image: quay.io/tao-ce/tao-ce:latest
extra_hosts:
- community.tao.internal:0.0.0.0
ports:
- 443:443
# [...]
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- tao-ce-lib:/var/lib/tao-ce:rw
- ./path/to/my/tao.yaml:/etc/tao-ce/config/tao.yaml:ro
# [...]