Quickstart - zhliau/fika-headless-docker GitHub Wiki
This guide assumes some knowledge of docker and SPT + Fika. For a more detailed guide visit
-
Make a copy of a working Fika client and place it somewhere on your docker host. e.g.
/path/to/fika_client- A working Fika client is one that can get to the main menu and successfully start a raid. You can use the client files you are currently playing with.
-
Copy the
Fika.Headless.dllplugin file (Fika.Dedicated.dllif you're on SPT version < 3.11) into the client'sBepInEx/pluginsfolder. -
Generate a headless client profile on your SPT server by updating the
headless.profiles.amountvalue in thefika.jsoncconfig file located in your SPT server filesuser/mods/fika_server/assets/configs/directory."headless": { "profiles": { "amount": 1 }, // ... }Save changes, and restart the SPT server to generate the headless profile.
-
Copy the headless profile's ProfileID string. This is the filename of the profile located in your SPT server files
user/profilesdirectory, without the.jsonextension. -
Run the docker image, providing the following environment variables:
PROFILE_ID- Profile ID you generated in step 3 and copied in step 4SERVER_URL- The IP or URL of your SPT serverSERVER_PORT- The port that your SPT server is listening on Additionally,- Expose the port
25565from the container to the host. - Mount the path to the copy of the Fika client that you created in step 1 to the container's
/opt/tarkovdirectory
docker
docker run --name fika_headless \ -v /path/to/fika:/opt/tarkov \ -e PROFILE_ID=deadbeeffeed \ -e SERVER_URL=your.spt.server.ip \ -e SERVER_PORT=6969 \ -p 25565:25565/udp \ ghcr.io/zhliau/fika-headless-docker:latestdocker-compose
services: fika_headless: image: ghcr.io/zhliau/fika-headless-docker:latest container_name: fika_headless volumes: - /path/to/fika_client:/opt/tarkov environment: - PROFILE_ID=deadbeeffeed - SERVER_URL=your.spt.server.ip - SERVER_PORT=6969 ports: - 25565:25565/udp