mirror of
https://github.com/mbround18/valheim-docker.git
synced 2021-10-22 21:53:54 +03:00
Documentation fixes (#258)
* Fix small documentation issues * Fix docker compose file as well
This commit is contained in:
committed by
GitHub
parent
3c97bf336c
commit
ea010ae33c
46
README.md
46
README.md
@@ -45,7 +45,7 @@
|
||||
| AUTO_BACKUP_DAYS_TO_LIVE | `3` | FALSE | This is the number of days you would like to keep backups for. While backups are compressed and generally small it is best to change this number as needed. |
|
||||
| AUTO_BACKUP_ON_UPDATE | `0` | FALSE | Create a backup on right before updating and starting your server. |
|
||||
| AUTO_BACKUP_ON_SHUTDOWN | `0` | FALSE | Create a backup on shutdown. |
|
||||
| WEBHOOK_URL | `` | FALSE | Supply this to get information regarding your server's status in a webhook or Discord notification! [Click here to learn how to get a webhook url for Discord](https://help.dashe.io/en/articles/2521940-how-to-create-a-discord-webhook-url) |
|
||||
| WEBHOOK_URL | ` ` | FALSE | Supply this to get information regarding your server's status in a webhook or Discord notification! [Click here to learn how to get a webhook url for Discord](https://help.dashe.io/en/articles/2521940-how-to-create-a-discord-webhook-url) |
|
||||
| UPDATE_ON_STARTUP | `1` | FALSE | Tries to update the server the container is started. |
|
||||
|
||||
### Docker Compose
|
||||
@@ -64,12 +64,12 @@ services:
|
||||
- 2457:2457/udp
|
||||
- 2458:2458/udp
|
||||
environment:
|
||||
- PORT=2456
|
||||
- NAME="Created With Valheim Docker"
|
||||
- WORLD="Dedicated"
|
||||
- PASSWORD="Banana Phone"
|
||||
- TZ=America/Chicago
|
||||
- PUBLIC=1
|
||||
PORT: 2456
|
||||
NAME: "Created With Valheim Docker"
|
||||
WORLD: "Dedicated"
|
||||
PASSWORD: "Banana Phone"
|
||||
TZ: "America/Chicago"
|
||||
PUBLIC: 1
|
||||
volumes:
|
||||
- ./valheim/saves:/home/steam/.config/unity3d/IronGate/Valheim
|
||||
- ./valheim/server:/home/steam/valheim
|
||||
@@ -87,22 +87,22 @@ services:
|
||||
- 2457:2457/udp
|
||||
- 2458:2458/udp
|
||||
environment:
|
||||
- PORT=2456
|
||||
- NAME="Created With Valheim Docker"
|
||||
- WORLD="Dedicated"
|
||||
- PASSWORD="Strong! Password @ Here"
|
||||
- TZ=America/Chicago
|
||||
- PUBLIC=1
|
||||
- AUTO_UPDATE=1
|
||||
- AUTO_UPDATE_SCHEDULE="0 1 * * *"
|
||||
- AUTO_BACKUP=1
|
||||
- AUTO_BACKUP_SCHEDULE="*/15 * * * *"
|
||||
- AUTO_BACKUP_REMOVE_OLD=1
|
||||
- AUTO_BACKUP_DAYS_TO_LIVE=3
|
||||
- AUTO_BACKUP_ON_UPDATE=1
|
||||
- AUTO_BACKUP_ON_SHUTDOWN=1
|
||||
- WEBHOOK_URL="https://discord.com/api/webhooks/IM_A_SNOWFLAKE/AND_I_AM_A_SECRET"
|
||||
- UPDATE_ON_STARTUP=0
|
||||
PORT: 2456
|
||||
NAME: "Created With Valheim Docker"
|
||||
WORLD: "Dedicated"
|
||||
PASSWORD: "Strong! Password @ Here"
|
||||
TZ: "America/Chicago"
|
||||
PUBLIC: 1
|
||||
AUTO_UPDATE: 1
|
||||
AUTO_UPDATE_SCHEDULE: "0 1 * * *"
|
||||
AUTO_BACKUP: 1
|
||||
AUTO_BACKUP_SCHEDULE: "*/15 * * * *"
|
||||
AUTO_BACKUP_REMOVE_OLD: 1
|
||||
AUTO_BACKUP_DAYS_TO_LIVE: 3
|
||||
AUTO_BACKUP_ON_UPDATE: 1
|
||||
AUTO_BACKUP_ON_SHUTDOWN: 1
|
||||
WEBHOOK_URL: "https://discord.com/api/webhooks/IM_A_SNOWFLAKE/AND_I_AM_A_SECRET"
|
||||
UPDATE_ON_STARTUP: 0
|
||||
volumes:
|
||||
- ./valheim/saves:/home/steam/.config/unity3d/IronGate/Valheim
|
||||
- ./valheim/server:/home/steam/valheim
|
||||
|
||||
@@ -12,12 +12,12 @@ services:
|
||||
- odin
|
||||
image: mbround18/valheim:latest
|
||||
environment:
|
||||
- PORT=2456
|
||||
- NAME="Created With Valheim Docker"
|
||||
- PASSWORD="Change Me! Please."
|
||||
- TZ=America/Los_Angeles
|
||||
- AUTO_UPDATE=1
|
||||
- AUTO_UPDATE_SCHEDULE="0 1 * * *"
|
||||
PORT: 2456
|
||||
NAME: "Created With Valheim Docker"
|
||||
PASSWORD: "Change Me! Please."
|
||||
TZ: "America/Los_Angeles"
|
||||
AUTO_UPDATE: 1
|
||||
AUTO_UPDATE_SCHEDULE: "0 1 * * *"
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
|
||||
| Variable | Default | Required | Description |
|
||||
|-------------------------------------|------------------------------------|----------|-------------|
|
||||
| WEBHOOK_URL | `` | FALSE | Supply this to get information regarding your server's status in a webhook or Discord notification! [Click here to learn how to get a webhook url for Discord](https://help.dashe.io/en/articles/2521940-how-to-create-a-discord-webhook-url) |
|
||||
| WEBHOOK_URL | ` ` | FALSE | Supply this to get information regarding your server's status in a webhook or Discord notification! [Click here to learn how to get a webhook url for Discord](https://help.dashe.io/en/articles/2521940-how-to-create-a-discord-webhook-url) |
|
||||
<!---
|
||||
| WEBHOOK_BROADCAST_MESSAGE | CHANGE_ME | TRUE | You set this. See `odin notify --help` |
|
||||
| WEBHOOK_UPDATING_MESSAGE | `Server Status: Updating` | FALSE | Set the Updating message of your server |
|
||||
| WEBHOOK_UPDATE_SUCCESSFUL_MESSAGE | `Server Status: Update Successful` | FALSE | Set the Update Successful message of your server |
|
||||
@@ -15,6 +16,7 @@
|
||||
| WEBHOOK_STOPPING_MESSAGE | `Server Status: Stopping` | FALSE | Set the Stopping message of your server |
|
||||
| WEBHOOK_STOP_SUCCESSFUL_MESSAGE | `Server Status: Stop Successful` | FALSE | Set the Stop Successful message of your server |
|
||||
| WEBHOOK_STOP_FAILED_MESSAGE | `Server Status: Stop Failed` | FALSE | Set the Stop Failed message of your server |
|
||||
--->
|
||||
|
||||
|
||||
## POST Body Example
|
||||
|
||||
Reference in New Issue
Block a user