-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
36 lines (34 loc) · 764 Bytes
/
compose.yaml
File metadata and controls
36 lines (34 loc) · 764 Bytes
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
services:
app:
build: .
image: ghcr.io/birabittoh/escarbot:main
container_name: escarbot
restart: unless-stopped
ports:
- 3000:3000
environment:
- BOT_TOKEN
- CHANNEL_ID
- GROUP_ID
- ADMIN_ID
- VALKEY_ADDR=escarbot-cache:6379
#- PORT
depends_on:
cache:
condition: service_healthy
#volumes:
#- /etc/localtime:/etc/localtime:ro
cache:
image: valkey/valkey:8-alpine
container_name: escarbot-cache
restart: unless-stopped
command: valkey-server --save 60 1 --loglevel warning
volumes:
- valkey-data:/data
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
volumes:
valkey-data: