From 385e8d98f0f322bb2fe188f7db9f9a8353c69f11 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 10 Sep 2023 01:38:08 +0600 Subject: [PATCH] updated docker compose example so that others dont repeat my mistakes --- docker-compose.example.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 678633e3..a74a89af 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -6,6 +6,8 @@ services: restart: unless-stopped container_name: cobalt-api + init: true + # if container doesn't run detached on your machine, uncomment the next line: #tty: true @@ -21,17 +23,22 @@ services: # replace apiName with your instance's distinctive name - apiName=eu-nl # if you want to use cookies when fetching data from services, uncomment the next line - #- cookiePath=cookies.json + #- cookiePath=/cookies.json # see src/modules/processing/cookie/cookies_example.json for example file. - labels: - com.centurylinklabs.watchtower.scope=cobalt + # if you want to use cookies when fetching data from services, uncomment volumes and next line + #volumes: + #- ./cookies.json:/cookies.json + cobalt-web: image: ghcr.io/wukko/cobalt:latest restart: unless-stopped container_name: cobalt-web + init: true + # if container doesn't run detached on your machine, uncomment the next line: #tty: true