Skip to content

best way to save what you love

updated docker compose example

wukko385e8d98f0f3
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