Skip to content
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

Use docker-compose build #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data/**/*
Empty file added data/.gitkeep
Empty file.
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
version: "2.1"
services:
vrising:
build:
context: .
container_name: vrising-server
image: vrising:latest
volumes:
- /home/googlrr/VRisingServer:/root/.wine/drive_c/users/root/AppData/LocalLow/Stunlock Studios/VRisingServer/Saves
- /home/googlrr/VRisingSettings:/root/.wine/drive_c/users/root/AppData/LocalLow/Stunlock Studios/VRisingServer/Settings/
- ./data:/root/.wine/drive_c/users/root/AppData/LocalLow/Stunlock Studios/VRisingServer/Saves
- ./settings:/root/.wine/drive_c/users/root/AppData/LocalLow/Stunlock Studios/VRisingServer/Settings/
ports:
- "27015:27015/udp"
- "27016:27016/udp"
restart: unless-stopped
tty: true
tty: true
9 changes: 2 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@ cd V-Rising-Docker-Linux

3. Modify the ServerGameSettings.json and ServerHostSettings.json for whatever you want.

4. Move all the files in /settings/ to some location.
4. Modify docker compose, set a path for where you want your saves. Set the save and settings directories

4. Build the image
sudo docker build . -t vrising:latest

5. Modify docker compose, set a path for where you want your saves. Set the save and settings directories

6. compose
5. Build and Start Container
sudo docker-compose up -d

Really messy setup but this was the only way I could figure out how to work it lol. Never used Wine before. Hope for a native linux server soon!
Expand Down