From dbb9cb2b56e49b6283a12563f97ebd84347f15f2 Mon Sep 17 00:00:00 2001 From: Nick Slowinski Date: Mon, 18 Oct 2021 13:00:43 +0200 Subject: [PATCH] [CI SKIP] update README to include the logs volume --- README.md | 7 ++++--- README_DE.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4b1a682..7c54918 100644 --- a/README.md +++ b/README.md @@ -33,20 +33,21 @@ You can run the image as any other image, it automatically exposes the required | --------- | -------------------------- | ----------------------------------------------------------------------------------------------------------- | | config | `/JTS3ServerMod/config` | Config files | | documents | `/JTS3ServerMod/documents` | Documentation files of the bot + original _changelog.txt_ and _readme.txt_ (+german variant) | +| logs | `/JTS3ServerMod/logs` | Storage location for log files | | plugins | `/JTS3ServerMod/plugins` | Additional plugins can be uploaded in this directory - please follow the original docs of the JTS3ServerMod | -### Examples +### Examples (with all volumes) #### A container with named volumes and a given name ``` -docker run --name jts3servermod-dockerized -v jts3_config:/JTS3ServerMod/config -v jts3_documents:/JTS3ServerMod/documents -v jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev +docker run --name jts3servermod-dockerized -v jts3_config:/JTS3ServerMod/config -v jts3_documents:/JTS3ServerMod/documents -v jts3_logs:/JTS3ServerMod/logs -v jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev ``` #### A container with mounted volumes and a given name ``` -docker run --name jts3servermod-dockerized -v /some/path/on/host/jts3_config:/JTS3ServerMod/config -v /some/path/on/host/jts3_documents:/JTS3ServerMod/documents -v /some/path/on/host/jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev +docker run --name jts3servermod-dockerized -v /some/path/on/host/jts3_config:/JTS3ServerMod/config -v /some/path/on/host/jts3_documents:/JTS3ServerMod/documents -v /some/path/on/host/jts3_logs:/JTS3ServerMod/logs -v /some/path/on/host/jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev ``` ## Common issues diff --git a/README_DE.md b/README_DE.md index 8ff98f5..dab4bef 100644 --- a/README_DE.md +++ b/README_DE.md @@ -33,20 +33,21 @@ Sie können das Image wie jeden anderen Container ausführen, es stellt automati | --------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | config | `/JTS3ServerMod/config` | Konfigurationsdateien | | documents | `/JTS3ServerMod/documents` | Dokumentationsdateien des Bots + Original _changelog.txt_ und _readme.txt_ (+deutsche Variante) | +| logs | `/JTS3ServerMod/logs` | Speicherort für Log-Dateien | | plugins | `/JTS3ServerMod/plugins` | In diesem Verzeichnis können zusätzliche Plugins hochgeladen werden - bitte folgen Sie der Dokumentation des JTS3ServerMod | -### Beispiele +### Beispiele (mit allen Volumes) #### Ein Container mit benannten Volumes und festgelegten Namen ``` -docker run --name jts3servermod-dockerized -v jts3_config:/JTS3ServerMod/config -v jts3_documents:/JTS3ServerMod/documents -v jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev +docker run --name jts3servermod-dockerized -v jts3_config:/JTS3ServerMod/config -v jts3_documents:/JTS3ServerMod/documents -v jts3_logs:/JTS3ServerMod/logs -v jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev ``` #### Ein Container mit gemounteten Volumes und festgelegten Namen ``` -docker run --name jts3servermod-dockerized -v /ein/pfad/auf/dem/host/jts3_config:/JTS3ServerMod/config -v /ein/pfad/auf/dem/host/jts3_documents:/JTS3ServerMod/documents -v /ein/pfad/auf/dem/host/jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev +docker run --name jts3servermod-dockerized -v /ein/pfad/auf/dem/host/jts3_config:/JTS3ServerMod/config -v /ein/pfad/auf/dem/host/jts3_documents:/JTS3ServerMod/documents -v /ein/pfad/auf/dem/host/jts3_logs:/JTS3ServerMod/logs -v /ein/pfad/auf/dem/host/jts3_plugins:/JTS3ServerMod/plugins nickslowinski/jts3servermod-dockerized:dev ``` ## Häufige Probleme