-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
58 lines (47 loc) · 1.69 KB
/
compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
services:
app:
build: .
container_name: downloader_bot
depends_on:
- mongo
environment:
SPRING_DATA_MONGODB_URI: mongodb://mongo:27017/mydatabase
extra_hosts:
- "host.docker.internal:host-gateway"
mongo:
image: mongo:6.0
container_name: bot_mongodb
broker:
container_name: bot_amq_broker
image: apache/activemq-classic:5.18.6
environment:
ACTIVEMQ_CONNECTION_USER: ${ACTIVEMQ_CONNECTION_USER:-activemq_user}
ACTIVEMQ_CONNECTION_PASSWORD: ${ACTIVEMQ_CONNECTION_PASSWORD:-activemq_pass}
cobalt-api:
image: ghcr.io/imputnet/cobalt:10
init: true
read_only: true
restart: unless-stopped
container_name: cobalt-api
environment:
# replace https://api.url.example/ with your instance's url
# or else tunneling functionality won't work properly
API_URL: "http://cobalt-api:9000/"
# if you want to use cookies for fetching data from services,
# uncomment the next line & volumes section
# COOKIE_PATH: "/cookies.json"
# it's recommended to configure bot protection or api keys if the instance is public,
# see /docs/protect-an-instance.md for more info
# see /docs/run-an-instance.md for more variables that you can use here
labels:
- com.centurylinklabs.watchtower.scope=cobalt
# uncomment only if you use the COOKIE_PATH variable
# volumes:
# - ./cookies.json:/cookies.json
# watchtower updates the cobalt image automatically
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