-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
83 lines (79 loc) · 2.29 KB
/
docker-compose.yaml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.8"
networks:
image-publisher-comms:
services:
robster-redis:
image: redis:7.0-alpine
networks:
- image-publisher-comms
restart: unless-stopped
robster-image-publisher:
depends_on:
- "robster-redis"
networks:
- image-publisher-comms
build:
context: .
dockerfile: ./Image-Publisher.Dockerfile
environment:
- HOST=${HOST}
- ROBSTER_USERNAME=${ROBSTER_USERNAME}
- ROBSTER_PASSWORD=${ROBSTER_PASSWORD}
- ONVIF_PORT=${ONVIF_PORT}
- RTSP_URL=${RTSP_URL}
- REDIS_URL=${REDIS_URL}
- REDIS_IMAGES_CHANNEL=robsterimages
- REDIS_VIDEOS_CHANNEL=robstervideos
restart: unless-stopped
robster-discord-bot:
depends_on:
- "robster-redis"
- "robster-image-publisher"
networks:
- image-publisher-comms
build:
context: .
dockerfile: ./Discord-Bot.Dockerfile
environment:
- DISCORD_KEY=${DISCORD_KEY}
- REDIS_URL=${REDIS_URL}
- REDIS_IMAGES_CHANNEL=robsterimages
- REDIS_VIDEOS_CHANNEL=robstervideos
- DISCORD_APPLICATION_ID=${DISCORD_APPLICATION_ID}
restart: unless-stopped
robster-s3-image-storage:
depends_on:
- "robster-redis"
- "robster-image-publisher"
networks:
- image-publisher-comms
build:
context: .
dockerfile: ./Image-S3-Storage.Dockerfile
environment:
- REDIS_URL=${REDIS_URL}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- IMAGES_BUCKET_NAME=${IMAGES_BUCKET_NAME}
- VIDEOS_BUCKET_NAME=${VIDEOS_BUCKET_NAME}
- S3_REGION=${S3_REGION}
restart: unless-stopped
robster-twitter-bot:
depends_on:
- "robster-redis"
- "robster-image-publisher"
networks:
- image-publisher-comms
build:
context: .
dockerfile: ./Twitter-Bot.Dockerfile
environment:
- DISCORD_KEY=${DISCORD_KEY}
- REDIS_URL=${REDIS_URL}
- REDIS_IMAGES_CHANNEL=robsterimages
- REDIS_VIDEOS_CHANNEL=robstervideos
- TWITTER_CONSUMER_KEY=${TWITTER_CONSUMER_KEY}
- TWITTER_CONSUMER_KEY_SECRET=${TWITTER_CONSUMER_KEY_SECRET}
- TWITTER_ACCESS_TOKEN=${TWITTER_ACCESS_TOKEN}
- TWITTER_ACCESS_TOKEN_SECRET=${TWITTER_ACCESS_TOKEN_SECRET}
restart: unless-stopped