Dockerfile to run a Assetto Corsa Competizione server
-
Assetto Corsa Competitzione server files, download them from steam, zip the archive and call it acc.zip, then place in this folder
-
Rename
serverConfigsExample
toserverConfigs
and edit the config files as necesary
This software comes with a discord bot that can be used to
remotely control the server.
Create a new discord application, invite the bot to the server
with permissions to read and send messages, add the token to the
discord_configExample.py
then rename this file to discord_config.py
.
Then pip install discord.py and docker into your python3 env,
then run python3 discord_bot_run.py
.
Server commands
- $status -> Prints docker ps, prints last N chars of ACC Docker log, status
- $start -> Starts server, runs a server, only runs one instance
- $stop -> stops all docker containers running/servers running
- $build -> rebuilds the server with no-cache
- $changetrack -> Changes track on server, FORMAT changetrack <track_name>. Stops server, changes track, rebuilds server and starts new instance.