This repository was archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (64 loc) · 1.94 KB
/
docker-compose.yml
File metadata and controls
64 lines (64 loc) · 1.94 KB
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
---
version: "3.8"
services:
notify:
build:
context: .
target: notify
cache_from:
- ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/notify:${TAG_NAME:-latest}
- ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/notify
args:
BUILDKIT_INLINE_CACHE: 1
x-bake:
platforms:
- linux/amd64
image: ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/notify:${TAG_NAME:-latest}
platform: linux/amd64
env_file: .env
depends_on:
db:
condition: service_healthy
reply:
build:
context: .
target: reply
cache_from:
- ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/reply:${TAG_NAME:-latest}
- ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/reply
args:
BUILDKIT_INLINE_CACHE: 1
x-bake:
platforms:
- linux/amd64
image: ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/reply:${TAG_NAME:-latest}
platform: linux/amd64
environment:
NODE_OPTIONS: ${NODE_OPTIONS}
SLACK_BOT_TOKEN: ${SLACK_BOT_TOKEN}
SLACK_CHANNEL: ${SLACK_CHANNEL}
SLACK_SIGNING_SECRET: ${SLACK_SIGNING_SECRET}
TZ: ${TZ}
YOUTUBE_API_KEY: ${YOUTUBE_API_KEY}
DB_PORT: ${DB_PORT}
LAMBDA_PORT: ${LAMBDA_PORT}
TWITTER_BEARER_TOKEN: ${TWITTER_BEARER_TOKEN}
ports:
- ${LAMBDA_PORT}:${LAMBDA_PORT}
depends_on:
db:
condition: service_healthy
db:
build:
dockerfile: dynamodb/Dockerfile
cache_from:
- ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/db:${TAG_NAME:-latest}
- ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/db
args:
BUILDKIT_INLINE_CACHE: 1
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: ghcr.io/${REPOSITORY:-dev-hato/youtube_streaming_watcher}/db:${TAG_NAME:-latest}
env_file: .env