Skip to content

Commit

Permalink
With backups compose
Browse files Browse the repository at this point in the history
  • Loading branch information
mbround18 committed Jan 26, 2024
1 parent e003155 commit 9d80f61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
platforms:
- linux/amd64
environment:
SERVER_NAME: My Enshrouded Server # Optional, Name of the server
SERVER_NAME: "My Enshrouded Server" # Optional, Name of the server
# PASSWORD: "" # Optional, Password for the server
# SAVE_DIRECTORY: ./savegame # Optional, Save directory for the game
# LOG_DIRECTORY: ./logs # Optional, Log directory for the server
Expand All @@ -16,7 +16,7 @@ services:
# QUERY_PORT: 15637 # Optional, Query port for the server
# SLOT_COUNT: 16 # Optional, Number of slots for the server
ports:
- "8211:8211"
- "27015:27015"
- "15636:15636"
- "15637:15637"
volumes:
- ./tmp:/home/steam/enshrouded
4 changes: 1 addition & 3 deletions docs/compose-with-backups.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ services:
build:
context: .
dockerfile: Dockerfile
platforms:
- linux/amd64
environment:
SERVER_NAME: "My Enshrouded Server" # Optional, Name of the server
# PASSWORD: "" # Optional, Password for the server
Expand All @@ -32,7 +30,7 @@ services:
backups:
image: mbround18/backup-cron:latest
environment:
- SCHEDULE=*/5 * * * *
- SCHEDULE=*/10 * * * *
- INPUT_FOLDER=/home/steam/enshrouded/savegame
- OUTPUT_FOLDER=/home/steam/backups
- OUTPUT_USER=1000
Expand Down

0 comments on commit 9d80f61

Please sign in to comment.