Update docker-compose.yml
This commit is contained in:
parent
f52da26a70
commit
28928ba6d8
1 changed files with 31 additions and 59 deletions
|
@ -1,60 +1,32 @@
|
|||
version: '3.5'
|
||||
|
||||
services:
|
||||
cobalt-api:
|
||||
image: ghcr.io/imputnet/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:
|
||||
- 127.0.0.1:9000:9000
|
||||
|
||||
environment:
|
||||
# replace https://api.cobalt.tools/ with your instance's target url in same format
|
||||
API_URL: "https://co-api.blitzw.in/"
|
||||
# replace eu-nl with your instance's distinctive name
|
||||
API_NAME: "co-api"
|
||||
# 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/imputnet/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:
|
||||
- 127.0.0.1:9001:9001
|
||||
|
||||
environment:
|
||||
# replace https://cobalt.tools/ with your instance's target url in same format
|
||||
WEB_URL: "https://co.blitzw.in/"
|
||||
# replace https://api.cobalt.tools/ with preferred api instance url
|
||||
API_URL: "https://co-api.blitzw.in/"
|
||||
|
||||
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 --include-restarting
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
librey:
|
||||
image: ghcr.io/ahwxorg/librey:latest
|
||||
container_name: librey
|
||||
network_mode: bridge
|
||||
ports:
|
||||
- 127.0.0.1:2005:8080
|
||||
environment:
|
||||
- CONFIG_GOOGLE_DOMAIN=com
|
||||
- CONFIG_LANGUAGE=en
|
||||
- CONFIG_NUMBER_OF_RESULTS=10
|
||||
- CONFIG_INVIDIOUS_INSTANCE=https://redirect.invidious.io
|
||||
- CONFIG_DISABLE_BITTORRENT_SEARCH=false
|
||||
- CONFIG_HIDDEN_SERVICE_SEARCH=false
|
||||
- CONFIG_INSTANCE_FALLBACK=true
|
||||
- CONFIG_RATE_LIMIT_COOLDOWN=25
|
||||
- CONFIG_CACHE_TIME=20
|
||||
- CONFIG_DISABLE_API=false
|
||||
- CONFIG_TEXT_SEARCH_ENGINE=auto
|
||||
- CURLOPT_PROXY_ENABLED=false
|
||||
- CURLOPT_PROXY=192.0.2.53:8388
|
||||
- CURLOPT_PROXYTYPE=CURLPROXY_HTTP
|
||||
- CURLOPT_USERAGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:116.0) Gecko/20100101 Firefox/116.0
|
||||
- CURLOPT_FOLLOWLOCATION=true
|
||||
volumes:
|
||||
# - ./nginx_logs:/var/log/nginx # Disabled by default. These are the NGINX request logs.
|
||||
- ./php_logs:/var/log/php83 # Enabled by default. These are the PHP error logs.
|
||||
restart: unless-stopped
|
||||
watchtower: # Watchtower is not required but highly recommended, since Watchtower will re-pull and restart the LibreY container automatically whenever there's an update.
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
Loading…
Reference in a new issue