Skip to content

Commit ae73929

Browse files
committed
update server
1 parent 8e3a828 commit ae73929

1 file changed

Lines changed: 25 additions & 6 deletions

File tree

docs/server-docs/setup/docker-compose.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,15 @@ Password (YOURPASSWORDHERE) can't be empty! else the database will not work. If
5353

5454
### Tips for Running Docker on Windows
5555

56-
The above ``docker-compose.yaml`` file might not work as expected with Docker for Windows. Here are some things to consider to make it compatible:
56+
The above `docker-compose.yaml` file might not work as expected with Docker for Windows. Here are some things to consider to make it compatible:
5757

5858
- **Use Forward Slashes in Paths**: In your volumes, replace Windows-style backslashes (`\`) with forward slashes (`/`).
59-
```yaml
60-
volumes:
61-
# Path to your games folder
62-
- C:/Your/Games/Folder:/files
63-
```
59+
60+
```yaml
61+
volumes:
62+
# Path to your games folder
63+
- C:/Your/Games/Folder:/files
64+
```
6465

6566
- **PostgreSQL Database Volume**: For PostgreSQL, it’s often better to use a Docker volume instead of mounting a folder, due to compatibility issues of PostgreSQL with Windows Filesystems. To do this, leave out any volume definition in the database section of your YAML file. [Read more here](https://github.com/docker-library/postgres/issues/116).
6667

@@ -120,3 +121,21 @@ Open a terminal and run the following command:
120121
```bash
121122
docker logs gamevault-backend
122123
```
124+
125+
### Updating the Server
126+
127+
To update the GameVault server to the latest version, follow these steps:
128+
129+
Open a terminal and pull the latest images for GameVault:
130+
131+
```bash
132+
docker compose pull
133+
```
134+
135+
Restart the containers with the updated images:
136+
137+
```bash
138+
docker compose up -d --force-recreate
139+
```
140+
141+
Your server should now be running the latest version of GameVault!

0 commit comments

Comments
 (0)