cobalt-7/docker-compose.example.yml

66 lines
2.1 KiB
YAML
Raw Normal View History

version: '3.5'
services:
cobalt-api:
image: ghcr.io/wukko/cobalt:latest
restart: unless-stopped
container_name: cobalt-api
2023-07-21 12:35:04 +00:00
init: true
2023-07-21 12:35:04 +00:00
# if container doesn't run detached on your machine, uncomment the next line:
#tty: true
ports:
- 9000:9000/tcp
2023-07-21 12:35:04 +00:00
# if you're using a reverse proxy, uncomment the next line:
#- 127.0.0.1:9000:9000
environment:
- apiPort=9000
2023-07-21 12:35:04 +00:00
# replace apiURL with your instance's target url in same format
- apiURL=https://co.wuk.sh/
2023-07-21 12:35:04 +00:00
# replace apiName with your instance's distinctive name
- apiName=eu-nl
# if you want to use cookies when fetching data from services, uncomment the next line
#- cookiePath=/cookies.json
# see src/modules/processing/cookie/cookies_example.json for example file.
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/wukko/cobalt:latest
restart: unless-stopped
container_name: cobalt-web
2023-07-21 12:35:04 +00:00
init: true
2023-07-21 12:35:04 +00:00
# if container doesn't run detached on your machine, uncomment the next line:
#tty: true
ports:
2023-07-21 12:35:04 +00:00
- 9001:9001/tcp
# if you're using a reverse proxy, uncomment the next line:
#- 127.0.0.1:9001:9001
environment:
2023-07-21 12:35:04 +00:00
- webPort=9001
# replace webURL with your instance's target url in same format
- webURL=https://cobalt.tools/
2023-07-21 12:35:04 +00:00
# replace apiURL with preferred api instance url
- apiURL=https://co.wuk.sh/
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:
- /var/run/docker.sock:/var/run/docker.sock