From e1bb4eea7fb2377d93d85467ba1b6b130fc06cfd Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 31 May 2021 11:28:04 +0200 Subject: [PATCH] Define serve command (#393) Co-authored-by: CrazyMax --- docs/faq.md | 2 ++ docs/install/docker.md | 3 +++ docs/migration/v3-to-v4.md | 2 ++ docs/providers/docker.md | 3 +++ docs/providers/kubernetes.md | 1 + docs/providers/swarm.md | 1 + docs/usage/basic-example.md | 4 ++++ docs/user-guides/docker-file-providers.md | 2 ++ 8 files changed, 18 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 56f646c5..149f5cf9 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -136,6 +136,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "./profiler:/profiler" diff --git a/docs/install/docker.md b/docs/install/docker.md index e29e00ab..a63f094b 100644 --- a/docs/install/docker.md +++ b/docs/install/docker.md @@ -50,6 +50,7 @@ services: diun: image: crazymax/diun:latest container_name: diun + command: serve volumes: - "./data:/data" - "/var/run/docker.sock:/var/run/docker.sock" @@ -105,6 +106,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "./diun.yml:/diun.yml:ro" diff --git a/docs/migration/v3-to-v4.md b/docs/migration/v3-to-v4.md index c662044e..988aef67 100644 --- a/docs/migration/v3-to-v4.md +++ b/docs/migration/v3-to-v4.md @@ -246,6 +246,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "./diun.yml:/diun.yml:ro" diff --git a/docs/providers/docker.md b/docs/providers/docker.md index b5fc8182..a917db41 100644 --- a/docs/providers/docker.md +++ b/docs/providers/docker.md @@ -20,6 +20,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "/var/run/docker.sock:/var/run/docker.sock" @@ -34,6 +36,7 @@ services: cloudflared: image: crazymax/cloudflared:latest + container_name: cloudflared ports: - target: 5053 published: 5053 diff --git a/docs/providers/kubernetes.md b/docs/providers/kubernetes.md index 5300261d..445aa23b 100644 --- a/docs/providers/kubernetes.md +++ b/docs/providers/kubernetes.md @@ -71,6 +71,7 @@ spec: - name: diun image: crazymax/diun:latest imagePullPolicy: Always + command: ["serve"] env: - name: TZ value: "Europe/Paris" diff --git a/docs/providers/swarm.md b/docs/providers/swarm.md index 1d29f48d..9d707451 100644 --- a/docs/providers/swarm.md +++ b/docs/providers/swarm.md @@ -20,6 +20,7 @@ version: "3.5" services: diun: image: crazymax/diun:latest + command: serve volumes: - "./data:/data" - "/var/run/docker.sock:/var/run/docker.sock" diff --git a/docs/usage/basic-example.md b/docs/usage/basic-example.md index 38e92044..b1718bd6 100644 --- a/docs/usage/basic-example.md +++ b/docs/usage/basic-example.md @@ -12,6 +12,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "/var/run/docker.sock:/var/run/docker.sock" @@ -43,6 +45,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "./diun.yml:/diun.yml:ro" diff --git a/docs/user-guides/docker-file-providers.md b/docs/user-guides/docker-file-providers.md index 486c61b9..77a13691 100644 --- a/docs/user-guides/docker-file-providers.md +++ b/docs/user-guides/docker-file-providers.md @@ -16,6 +16,8 @@ version: "3.5" services: diun: image: crazymax/diun:latest + container_name: diun + command: serve volumes: - "./data:/data" - "./custom-images.yml:/custom-images.yml:ro"