Bläddra i källkod

chore: Update docker configuration docs

Owen Diffey 1 år sedan
förälder
incheckning
8ccc214a13
2 ändrade filer med 27 tillägg och 1 borttagningar
  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.soundcloud` | Experimental SoundCloud integration. |
 | `experimental.spotify` | Experimental Spotify 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.
 You may want to override the docker compose files in some specific cases.
 For this, you can create a `compose.override.yml` file.
 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:
 For example, to expose the frontend port:
 
 
@@ -180,3 +186,19 @@ services:
     ports:
     ports:
       - "127.0.0.1:9229:9229"
       - "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"