Skip to content

Commit

Permalink
Change some default paths in tshock image
Browse files Browse the repository at this point in the history
- Change TSHOCK_CONFIGPATH
- Change TSHOCK_CRASHDIR
- Change TSHOCK_LOGPATH
  • Loading branch information
victorpopkov committed Mar 20, 2024
1 parent d113329 commit 58636ec
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 49 deletions.
34 changes: 17 additions & 17 deletions DOCKERHUB.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ services:
TZ: UTC
# command-line parameters
TSHOCK_ADDITIONALPLUGINS: /data/plugins/
TSHOCK_CONFIGPATH: /data/tshock/
TSHOCK_CRASHDIR: /data/tshock/crashes/
TSHOCK_LOGPATH: /data/tshock/logs/
TSHOCK_CONFIGPATH: /data/
TSHOCK_CRASHDIR: /data/crashes/
TSHOCK_LOGPATH: /data/logs/
TSHOCK_WORLDSELECTPATH: /data/worlds/
```

Expand Down Expand Up @@ -312,20 +312,20 @@ through the server configuration file.
Command-line environment variables represent features unique to [Terraria]
server binary parameters.

| Name | Image | Default | Description |
| --------------------------------- | ---------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `TERRARIA_ANNOUNCEMENTBOXRANGE` | `official` | | Sets the "Announcement Box" text messaging range in pixels, `-1` for serverwide announcements. |
| `TERRARIA_CONFIG` | `official` | `/data/config.txt` | Sets the configuration file path. |
| `TERRARIA_DISABLEANNOUNCEMENTBOX` | `official` | | Disables the text announcements that "Announcement Box" makes when pulsed from wire. |
| `TERRARIA_FORCEPRIORITY` | `official` | | <p>Sets the process priority for this task:</p><ul><li>`0` (realtime)</li><li>`1` (high)</li><li>`2` (above normal)</li><li>`3` (normal)</li><li>`4` (below normal)</li><li>`5` (idle)</li></ul><p>If this is used the `priority` setting will be ignored.</p> |
| `TERRARIA_IP` | `official` | | Sets the IP address for the server to listen on. |
| `TERRARIA_LOBBY` | `official` | | <p>Allows only friends to join the server or sets it to private if Steam is enabled:</p><ul><li>`friends`</li><li>`private`</li></ul> |
| `TERRARIA_STEAM` | `official` | `0` | Toggles Steam support. |
| `TSHOCK_ADDITIONALPLUGINS` | `tshock` | `/data/plugins/` | Sets the additional plugins directory path. |
| `TSHOCK_CONFIGPATH` | `tshock` | `/data/tshock/` | Sets the configurations directory path. |
| `TSHOCK_CRASHDIR` | `tshock` | `/data/tshock/crashes/` | Sets the crashes directory path. |
| `TSHOCK_LOGPATH` | `tshock` | `/data/tshock/logs/` | Sets the logs directory path. |
| `TSHOCK_WORLDSELECTPATH` | `tshock` | `/data/worlds/` | Sets the worlds directory path. |
| Name | Image | Default | Description |
| --------------------------------- | ---------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `TERRARIA_ANNOUNCEMENTBOXRANGE` | `official` | | Sets the "Announcement Box" text messaging range in pixels, `-1` for serverwide announcements. |
| `TERRARIA_CONFIG` | `official` | `/data/config.txt` | Sets the configuration file path. |
| `TERRARIA_DISABLEANNOUNCEMENTBOX` | `official` | | Disables the text announcements that "Announcement Box" makes when pulsed from wire. |
| `TERRARIA_FORCEPRIORITY` | `official` | | <p>Sets the process priority for this task:</p><ul><li>`0` (realtime)</li><li>`1` (high)</li><li>`2` (above normal)</li><li>`3` (normal)</li><li>`4` (below normal)</li><li>`5` (idle)</li></ul><p>If this is used the `priority` setting will be ignored.</p> |
| `TERRARIA_IP` | `official` | | Sets the IP address for the server to listen on. |
| `TERRARIA_LOBBY` | `official` | | <p>Allows only friends to join the server or sets it to private if Steam is enabled:</p><ul><li>`friends`</li><li>`private`</li></ul> |
| `TERRARIA_STEAM` | `official` | `0` | Toggles Steam support. |
| `TSHOCK_ADDITIONALPLUGINS` | `tshock` | `/data/plugins/` | Sets the additional plugins directory path. |
| `TSHOCK_CONFIGPATH` | `tshock` | `/data/` | Sets the configurations directory path. |
| `TSHOCK_CRASHDIR` | `tshock` | `/data/crashes/` | Sets the crashes directory path. |
| `TSHOCK_LOGPATH` | `tshock` | `/data/logs/` | Sets the logs directory path. |
| `TSHOCK_WORLDSELECTPATH` | `tshock` | `/data/worlds/` | Sets the worlds directory path. |

## Supported architectures

Expand Down
Loading

0 comments on commit 58636ec

Please sign in to comment.