[GH-ISSUE #1479] Using proxy with cobalt #2390

Closed
opened 2026-04-11 06:49:00 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Creveoolus on GitHub (Dec 7, 2025).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/1479

problem description

I have a cobalt instance running on my home server and I want to download youtube and tiktok videos without any problems (yeah, I live in Russia)

Is there any way I can use cobalt with proxy servers that they connect to youtube and tiktok?

your instance configuration

services:
    cobalt:
        image: ghcr.io/imputnet/cobalt:11

        init: true
        read_only: true
        restart: unless-stopped
        container_name: cobalt

        ports:
            - 127.0.0.1:9000:9000

        environment:
            API_URL: "https://cobalt.my.domain/"
            API_KEY_URL: "file:///keys.json"
            API_AUTH_REQUIRED: 1

        labels:
            - com.centurylinklabs.watchtower.scope=cobalt
        volumes:
            - ./keys.json:/keys.json:ro
        networks:
            - outside

    watchtower:
        image: ghcr.io/containrrr/watchtower
        restart: unless-stopped
        command: --cleanup --scope cobalt --interval 900 --include-restarting
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock

    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

networks:
  outside:
    external: true
Originally created by @Creveoolus on GitHub (Dec 7, 2025). Original GitHub issue: https://github.com/imputnet/cobalt/issues/1479 ### problem description I have a cobalt instance running on my home server and I want to download youtube and tiktok videos without any problems (yeah, I live in Russia) Is there any way I can use cobalt with proxy servers that they connect to youtube and tiktok? ### your instance configuration ```shell services: cobalt: image: ghcr.io/imputnet/cobalt:11 init: true read_only: true restart: unless-stopped container_name: cobalt ports: - 127.0.0.1:9000:9000 environment: API_URL: "https://cobalt.my.domain/" API_KEY_URL: "file:///keys.json" API_AUTH_REQUIRED: 1 labels: - com.centurylinklabs.watchtower.scope=cobalt volumes: - ./keys.json:/keys.json:ro networks: - outside watchtower: image: ghcr.io/containrrr/watchtower restart: unless-stopped command: --cleanup --scope cobalt --interval 900 --include-restarting volumes: - /var/run/docker.sock:/var/run/docker.sock 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 networks: outside: external: true ```
GiteaMirror added the instance hosting help label 2026-04-11 06:49:00 -05:00
Author
Owner

@d4rkd3n1337 commented on GitHub (Dec 17, 2025):

Hey, yes, you can use proxy. Just add to environment
HTTP_PROXY: "http://proxy.domain.tld:3128" (method://ip or fqdn:port)

<!-- gh-comment-id:3666769218 --> @d4rkd3n1337 commented on GitHub (Dec 17, 2025): Hey, yes, you can use proxy. Just add to environment `HTTP_PROXY: "http://proxy.domain.tld:3128"` (method://ip or fqdn:port)
Sign in to join this conversation.