2023-05-19 14:13:48 +01:00
|
|
|
version: '3.5'
|
|
|
|
|
|
|
|
services:
|
|
|
|
cobalt-api:
|
2023-12-02 16:59:37 +00:00
|
|
|
image: ghcr.io/wukko/cobalt:7
|
2023-05-19 14:13:48 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: cobalt-api
|
2023-07-21 13:35:04 +01:00
|
|
|
|
2023-09-09 20:38:08 +01:00
|
|
|
init: true
|
|
|
|
|
2023-07-21 13:35:04 +01:00
|
|
|
# if container doesn't run detached on your machine, uncomment the next line:
|
|
|
|
#tty: true
|
|
|
|
|
2023-05-19 14:13:48 +01:00
|
|
|
ports:
|
|
|
|
- 9000:9000/tcp
|
2023-07-21 13:35:04 +01:00
|
|
|
# if you're using a reverse proxy, uncomment the next line:
|
|
|
|
#- 127.0.0.1:9000:9000
|
|
|
|
|
2023-05-19 14:13:48 +01:00
|
|
|
environment:
|
2023-07-21 13:35:04 +01:00
|
|
|
# replace apiURL with your instance's target url in same format
|
2023-05-21 20:13:05 +01:00
|
|
|
- apiURL=https://co.wuk.sh/
|
2023-07-21 13:35:04 +01:00
|
|
|
# replace apiName with your instance's distinctive name
|
2023-05-21 20:13:05 +01:00
|
|
|
- apiName=eu-nl
|
2023-08-20 11:58:04 +01:00
|
|
|
# if you want to use cookies when fetching data from services, uncomment the next line
|
2023-09-09 20:38:08 +01:00
|
|
|
#- cookiePath=/cookies.json
|
2023-10-28 13:51:20 +01:00
|
|
|
# see cookies_example.json for example file.
|
2023-09-09 17:31:24 +01:00
|
|
|
labels:
|
|
|
|
- com.centurylinklabs.watchtower.scope=cobalt
|
|
|
|
|
2023-09-09 20:38:08 +01: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 14:13:48 +01:00
|
|
|
cobalt-web:
|
2023-12-02 16:59:37 +00:00
|
|
|
image: ghcr.io/wukko/cobalt:7
|
2023-05-19 14:13:48 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: cobalt-web
|
2023-07-21 13:35:04 +01:00
|
|
|
|
2023-09-09 20:38:08 +01:00
|
|
|
init: true
|
|
|
|
|
2023-07-21 13:35:04 +01:00
|
|
|
# if container doesn't run detached on your machine, uncomment the next line:
|
|
|
|
#tty: true
|
|
|
|
|
2023-05-19 14:13:48 +01:00
|
|
|
ports:
|
2023-07-21 13:35:04 +01:00
|
|
|
- 9001:9001/tcp
|
|
|
|
# if you're using a reverse proxy, uncomment the next line:
|
|
|
|
#- 127.0.0.1:9001:9001
|
|
|
|
|
2023-05-19 14:13:48 +01:00
|
|
|
environment:
|
2023-07-21 13:35:04 +01:00
|
|
|
# replace webURL with your instance's target url in same format
|
2023-09-09 17:31:24 +01:00
|
|
|
- webURL=https://cobalt.tools/
|
2023-07-21 13:35:04 +01:00
|
|
|
# replace apiURL with preferred api instance url
|
2023-05-21 20:13:05 +01:00
|
|
|
- apiURL=https://co.wuk.sh/
|
2023-09-09 17:31:24 +01:00
|
|
|
|
|
|
|
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:
|
2023-12-02 16:59:37 +00:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|