forked from assetto-corsa-web/accweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_config.yml
53 lines (43 loc) · 2 KB
/
docker_config.yml
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
# accweb server and application configuration.
# https://github.com/assetto-corsa-web/accweb
webserver:
# Sets the host and port.
# Port 80 is the default port for web servers and might be blocked on your maschine.
# If that is the case you can use anything else like 8080 for example.
host: $ACCWEB_HOST
# Set tls to true and provide paths to the key files in order to enable SSL.
# This is highly recommended as otherwise your passwords and all other traffic won't be encrypted!
# accweb will probably support automatic Letsencrypt certificates in the future.
tls: $ACCWEB_ENABLE_TLS
cert: $ACCWEB_CERT_FILE
private_key: $ACCWEB_PRIV_FILE
# http write/read timeouts
# technical stuff you shouldn't mess around with
write_timeout: 5
read_timeout: 5
auth:
# Set the admin, moderator and read only user password.
# accweb won't start without an admin password.
admin_password: $ACCWEB_ADMIN_PASSWORD
moderator_password: $ACCWEB_MOD_PASSWORD
read_only_password: $ACCWEB_RO_PASSWORD
# Path to public and private token key files.
# These must be provided as they are required to generate save tokens for authentication.
# accweb won't start without them. They will be automatically generated if accweb finds the gen_rsa_keys script
# next to the accweb executable. So you will most likely be able to start the server without touching this.
public_key_path: secrets/token.public
private_key_path: secrets/token.private
acc:
# Path to ACC server installation directory.
# Use forward slashes (even if you're on Windows!). The example path is for Linux.
server_path: "/accserver"
# Name of the server executable within the server installation directory.
# You don't need to change this (except the ACC devs change its name for some reason).
server_exe: accServer.exe
# TECHNICAL STUFF FROM HERE ON
config_path: config/
dev: false
loglevel: $ACCWEB_LOGLEVEL
cors:
origins: "$ACCWEB_CORS"
loglevel: $ACCWEB_LOGLEVEL