Back

一个好用的在线视频下载器

|

Docker 启动下面的compose就行了。

或者使用作者的实例:
cobalt

version: '3.5'
services:
cobalt-api:
image: ghcr.io/wukko/cobalt:7
restart: unless-stopped
container_name: cobalt-api
        init: true
        # if container doesn't run detached on your machine, uncomment the next line
        #tty: true
        ports:
            - 9000:9000/tcp
            # if you're using a reverse proxy, uncomment the next line and remove the one above (9000:9000/tcp):
            #- 127.0.0.1:9000:9000
        environment:
            # replace <https://co.wuk.sh/> with your instance's target url in same format
            API_URL: "<https://替换自己的URL//>"
            # replace eu-nl with your instance's distinctive name
            API_NAME: "eu-nl"
            # if you want to use cookies when fetching data from services, uncomment the next line and the lines under volume
            # COOKIE_PATH: "/cookies.json"
            # see docs/run-an-instance.md for more information
        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:7
        restart: unless-stopped
        container_name: cobalt-web
        init: true
        # if container doesn't run detached on your machine, uncomment the next line
        #tty: true
        ports:
            - 9001:9001/tcp
            # if you're using a reverse proxy, uncomment the next line and remove the one above (9001:9001/tcp):
            #- 127.0.0.1:9001:9001
        environment:
            # replace <https://cobalt.tools/> with your instance's target url in same format
            WEB_URL: "<https://替换自己的URL/>"
            # replace <https://co.wuk.sh/> with preferred api instance url
            API_URL: "<https://替换自己的URL//>"
        labels:
            - com.centurylinklabs.watchtower.scope=cobalt
    # update the cobalt image automatically with watchtower
    watchtower:
        image: ghcr.io/containrrr/watchtower
        restart: unless-stopped
        command: --cleanup --scope cobalt --interval 900
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock

No comments yet

Leave a comment

About me

I live in Tasmania, an island a little far from the rest of the world and very close to the sea.
Father of two little girls, have two puppies.

Work

Work in IT industry, AI is my working partner.