Browse Source

chore: Update docker configuration docs

Owen Diffey 1 month ago
parent
commit
8ccc214a13
2 changed files with 27 additions and 1 deletions
  1. 23 1
      .wiki/Configuration.md
  2. 4 0
      compose.override.yml.example

+ 23 - 1
.wiki/Configuration.md

@@ -158,10 +158,16 @@ For more information on configuration files please refer to the
 | `experimental.soundcloud` | Experimental SoundCloud integration. |
 | `experimental.spotify` | Experimental Spotify integration. |
 
-## Docker compose override
+## Docker
+
+Below are some snippets that may help you get started with Docker.
+For more information please see the [Docker documentation](https://docs.docker.com).
+
+### Compose override
 
 You may want to override the docker compose files in some specific cases.
 For this, you can create a `compose.override.yml` file.
+An example is available at [compose.override.yml.example](../compose.override.yml.example).
 
 For example, to expose the frontend port:
 
@@ -180,3 +186,19 @@ services:
     ports:
       - "127.0.0.1:9229:9229"
 ```
+
+### Daemon configuration
+
+The below is an example `daemon.json` configured to bind to a specific IP,
+and setup log rotation.
+
+```json
+{
+  "ip": "127.0.0.1",
+  "log-driver": "json-file",
+  "log-opts": {
+    "max-size": "10m",
+    "max-file": "10"
+  }
+}
+```

+ 4 - 0
compose.override.yml.example

@@ -0,0 +1,4 @@
+services:
+  frontend:
+    ports:
+      - "127.0.0.1:80:80"