Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 2.67 KB

README.md

File metadata and controls

84 lines (53 loc) · 2.67 KB

Release Workflow Docker Pulls Buy Me A Coffee

Sons of the Forest - Dedicated Server with Docker 💀

Welcome to the world of Sons of the Docker! 👻

Prepare yourself for a chilling journey into the depths of containerization and beyond! 🧟

🔥 How to Run Sons of the Docker Server on Your PC

Follow these spine-chilling steps to summon the Sons of the Docker Server to your local machine:

💻 Prerequisites

Ensure you have the following ghastly tools installed on your machine:

  • Docker - The gateway to the underworld of containers

⚡ Pull the Image from Docker Hub

Open your terminal and unleash the dark magic with this command:

docker pull giovannidegiorgio/sons-of-the-docker:latest

💀 Run the Server

Once the image is summoned, bring it to life with the following incantation:

PS. Use UPDATE_ON_START=true if you want to update your server each reboot

docker run -d --name sons_of_the_docker -p 8766:8766/udp -p 27016:27016/udp -p 9700:9700/udp -e UPDATE_ON_START=false -v <PATH_TO_YOUR_CONFIG_DIR>:/srv/sons-of-the-docker/config giovannidegiorgio/sons-of-the-docker:latest

Or

version: '3'
services:
  sons-of-the-docker:
    image: giovannidegiorgio/sons-of-the-docker:latest
    container_name: sons-of-the-docker
    environment:
      - UPDATE_ON_START: false
    ports:
      - "8766:8766/udp"
      - "27016:27016/udp" 
      - "9700:9700/udp"
  volumes:
    - "<PATH_TO_YOUR_CONFIG_DIR>:/srv/sons-of-the-docker/config"

👀 Verify the Server is Running

Peek into the netherworld to ensure the server has risen from the depths:

docker ps

You should see sons_of_the_docker_server among the undead containers. :sparkles: Access the Server

Access now to Sons Of the Forest, you will see your Sons Of The Docker instance in the LAN server list!

⚠️ Disclaimer

Beware, brave soul, for delving into the dark arts of containerization may awaken ancient evils beyond your comprehension. Proceed with caution!

☠️ Contributing

If you dare to enhance the terror of Sons of the Docker Server, feel free to summon your darkest powers and contribute to this repository. We welcome your cursed pull requests and unholy issues.

Happy haunting! 😈