Update docker-compose.yml
This commit is contained in:
parent
458d2ac2f3
commit
97d5077549
@ -1,53 +1,18 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
cobalt:
|
cobalt-api:
|
||||||
image: ghcr.io/imputnet/cobalt:11
|
image: ghcr.io/imputnet/cobalt:latest
|
||||||
|
|
||||||
init: true
|
|
||||||
read_only: true
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: cobalt
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000/tcp
|
- "9000:9000"
|
||||||
# if you use a reverse proxy (such as nginx),
|
|
||||||
# uncomment the next line and remove the one above (9000:9000/tcp):
|
|
||||||
# - 127.0.0.1:9000:9000
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
# replace https://api.url.example/ with your instance's url
|
API_URL: ""
|
||||||
# or else tunneling functionality won't work properly
|
|
||||||
API_URL: "https://cobalt.giovanesaggio.com/"
|
|
||||||
|
|
||||||
# if you want to use cookies for fetching data from services,
|
cobalt-web:
|
||||||
# uncomment the next line & volumes section
|
image: ghcr.io/imputnet/cobalt-web:latest
|
||||||
# COOKIE_PATH: "/cookies.json"
|
|
||||||
|
|
||||||
# it's recommended to configure bot protection or api keys if the instance is public,
|
|
||||||
# see /docs/protect-an-instance.md for more info
|
|
||||||
|
|
||||||
# see /docs/run-an-instance.md for more variables that you can use here
|
|
||||||
|
|
||||||
labels:
|
|
||||||
- com.centurylinklabs.watchtower.scope=cobalt
|
|
||||||
|
|
||||||
# uncomment only if you use the COOKIE_PATH variable
|
|
||||||
# volumes:
|
|
||||||
# - ./cookies.json:/cookies.json
|
|
||||||
|
|
||||||
# watchtower updates the cobalt image automatically
|
|
||||||
watchtower:
|
|
||||||
image: ghcr.io/containrrr/watchtower
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: --cleanup --scope cobalt --interval 900 --include-restarting
|
ports:
|
||||||
volumes:
|
- "3000:3000"
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
environment:
|
||||||
|
API_URL: # ->> Connects directly to the API
|
||||||
# if needed, use this image for automatically generating poToken & visitor_data
|
|
||||||
# yt-session-generator:
|
|
||||||
# image: ghcr.io/imputnet/yt-session-generator:webserver
|
|
||||||
|
|
||||||
# init: true
|
|
||||||
# restart: unless-stopped
|
|
||||||
# container_name: yt-session-generator
|
|
||||||
# labels:
|
|
||||||
# - com.centurylinklabs.watchtower.scope=cobalt
|
|
Loading…
x
Reference in New Issue
Block a user