Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Video-Downloader/docs/examples/docker-compose.example.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (28 sloc)
1.26 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
cobalt-api: | |
image: ghcr.io/imputnet/cobalt:10 | |
restart: unless-stopped | |
container_name: cobalt-api | |
init: 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://api.cobalt.tools/ with your instance's target url in same format | |
API_URL: "https://api.cobalt.tools/" | |
# 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 | |
# update the cobalt image automatically with watchtower | |
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 |