FreeSO Docker
Running a FreeSO server on a Docker compose stack.
Note: This will not be support for FreeSO itself, report any problems on the official repo.
Requirements
- Linux x64 server or WSL (not tested)
- Basic understanding on Linux
How to run
- First create directories (auth, nfs, vars).
- Copy config.sample.json to config.json.
- Create an .env file with the following content:
DB_USERNAME=fsoserver
DB_PASSWORD=[password]
DB_NAME=fso
- Download or compile the FreeSO server. If downloaded, extract the content to the server subdirectory. If compiled, rename the output directory as FreeSOServer.
- Put it in a subdirectory as FreeSOServer. (ex. server/FreeSOServer)
- Create a docker image for the FreeSO server by doing
docker build . -t freesoon the server subdirectory. - Download and extract TSO files (TSOClient folder), and rename the
TSOClientfolder togameon the root directory. - Change the server for the database ip to
dbas it will connect to the mariadb container. - Follow the guide from the FreeSO repo.
- Run the server as
docker compose up -d.
