2023-05-19 13:13:48 +00:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
services:
|
|
|
|
cobalt-api:
|
2024-05-14 07:35:03 +00:00
|
|
|
image: ghcr.io/imputnet/cobalt:7
|
2023-05-19 13:13:48 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: cobalt-api
|
2023-07-21 12:35:04 +00:00
|
|
|
|
2023-09-09 19:38:08 +00:00
|
|
|
init: true
|
|
|
|
|
2024-03-29 01:34:46 +00:00
|
|
|
# if container doesn't run detached on your machine, uncomment the next line
|
2023-07-21 12:35:04 +00:00
|
|
|
#tty: true
|
|
|
|
|
2023-05-19 13:13:48 +00:00
|
|
|
ports:
|
|
|
|
- 9000:9000/tcp
|
2024-03-05 13:10:04 +00:00
|
|
|
# if you're using a reverse proxy, uncomment the next line and remove the one above (9000:9000/tcp):
|
2023-07-21 12:35:04 +00:00
|
|
|
#- 127.0.0.1:9000:9000
|
|
|
|
|
2023-05-19 13:13:48 +00:00
|
|
|
environment:
|
2024-03-05 13:32:10 +00:00
|
|
|
# replace https://co.wuk.sh/ with your instance's target url in same format
|
2024-03-29 01:32:45 +00:00
|
|
|
API_URL: "https://co.wuk.sh/"
|
2024-03-05 13:32:10 +00:00
|
|
|
# replace eu-nl with your instance's distinctive name
|
2024-03-29 01:32:45 +00:00
|
|
|
API_NAME: "eu-nl"
|
2024-04-17 17:57:36 +00:00
|
|
|
# if you want to use cookies when fetching data from services, uncomment the next line and the lines under volume
|
|
|
|
# COOKIE_PATH: "/cookies.json"
|
2024-03-29 01:32:45 +00:00
|
|
|
# see docs/run-an-instance.md for more information
|
2023-09-09 16:31:24 +00:00
|
|
|
labels:
|
|
|
|
- com.centurylinklabs.watchtower.scope=cobalt
|
|
|
|
|
2023-09-09 19:38:08 +00:00
|
|
|
# if you want to use cookies when fetching data from services, uncomment volumes and next line
|
|
|
|
#volumes:
|
|
|
|
#- ./cookies.json:/cookies.json
|
|
|
|
|
2023-05-19 13:13:48 +00:00
|
|
|
cobalt-web:
|
2024-05-14 07:35:03 +00:00
|
|
|
image: ghcr.io/imputnet/cobalt:7
|
2023-05-19 13:13:48 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: cobalt-web
|
2023-07-21 12:35:04 +00:00
|
|
|
|
2023-09-09 19:38:08 +00:00
|
|
|
init: true
|
|
|
|
|
2024-03-29 01:34:46 +00:00
|
|
|
# if container doesn't run detached on your machine, uncomment the next line
|
2023-07-21 12:35:04 +00:00
|
|
|
#tty: true
|
|
|
|
|
2023-05-19 13:13:48 +00:00
|
|
|
ports:
|
2023-07-21 12:35:04 +00:00
|
|
|
- 9001:9001/tcp
|
2024-03-05 13:10:04 +00:00
|
|
|
# if you're using a reverse proxy, uncomment the next line and remove the one above (9001:9001/tcp):
|
2023-07-21 12:35:04 +00:00
|
|
|
#- 127.0.0.1:9001:9001
|
|
|
|
|
2023-05-19 13:13:48 +00:00
|
|
|
environment:
|
2024-03-05 13:10:04 +00:00
|
|
|
# replace https://cobalt.tools/ with your instance's target url in same format
|
2024-03-29 01:32:45 +00:00
|
|
|
WEB_URL: "https://cobalt.tools/"
|
2024-03-05 13:10:04 +00:00
|
|
|
# replace https://co.wuk.sh/ with preferred api instance url
|
2024-03-29 01:32:45 +00:00
|
|
|
API_URL: "https://co.wuk.sh/"
|
2023-09-09 16:31:24 +00:00
|
|
|
|
|
|
|
labels:
|
|
|
|
- com.centurylinklabs.watchtower.scope=cobalt
|
|
|
|
|
|
|
|
# update the cobalt image automatically with watchtower
|
|
|
|
watchtower:
|
|
|
|
image: ghcr.io/containrrr/watchtower
|
|
|
|
restart: unless-stopped
|
2024-05-16 16:34:35 +00:00
|
|
|
command: --cleanup --scope cobalt --interval 900 --include-restarting
|
2023-09-09 16:31:24 +00:00
|
|
|
volumes:
|
2023-12-02 16:59:37 +00:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|