8000 feat: implement configuration persistence; rename container folders; rename image by gdegiorgio · Pull Request #3 · gdegiorgio/sons-of-the-docker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: implement configuration persistence; rename container folders; rename image #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,19 @@ ENV WINEARCH=win64
# Copy files

RUN mkdir -p /srv/sons-of-the-docker/
RUN mkdir -p /srv/sons-of-the-docker/config
RUN mkdir -p /opt/scripts/sons-of-the-docker/
ADD scripts /opt/scripts/sons-of-the-docker/



#RUN wineboot -u


# Install game
ADD cfg /root/.wine/drive_c/users/root/AppData/LocalLow/Endnight/SonsOfTheForestDS
ADD cfg /srv/sons-of-the-docker/config
WORKDIR /srv/sons-of-the-docker



RUN
RUN /opt/scripts/sons-of-the-docker/install.sh
RUN mkdir -p /root/.wine/drive_c/users/root/AppData/LocalLow/Endnight/SonsOfTheForestDS
RUN ln -s /srv/sons-of-the-docker/config/* /root/.wine/drive_c/users/root/AppData/LocalLow/Endnight/SonsOfTheForestDS

EXPOSE 8766 27016 9700
ENTRYPOINT ["bash", "/opt/scripts/sons-of-the-docker/start.sh"]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

>⚠️ **Warning: Still Under Development** ⚠️
> 🗺️ On the Roadmap: Providing volumes for data persistence and external configs mapping. Stay tuned for updates from the underworld!
>⚠️ **Still Under Development** ⚠️
> 🗺️ On the Roadmap: Providing volumes for data persistence. Stay tuned for updates from the underworld!

# Sons of the Forest - Dedicated Server with Docker :skull:

Expand Down Expand Up @@ -30,7 +30,7 @@ docker pull giovannidegiorgio/sons-of-the-docker:latest
Once the image is summoned, bring it to life with the following incantation:

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

### :eyes: Verify the Server is Running
Expand Down
0