26 lines
566 B
YAML
26 lines
566 B
YAML
|
version: "3.1"
|
||
|
|
||
|
services:
|
||
|
redis:
|
||
|
image: redis:alpine
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- /docker/appdata/vencloud/redis:/data
|
||
|
environment:
|
||
|
REDIS_ARGS: --save 300 1 60 10
|
||
|
healthcheck:
|
||
|
test: ["CMD", "redis-cli", "ping"]
|
||
|
interval: 5s
|
||
|
timeout: 5s
|
||
|
retries: 5
|
||
|
|
||
|
backend:
|
||
|
image: vencord/backend
|
||
|
build: .
|
||
|
restart: always
|
||
|
env_file:
|
||
|
- .env
|
||
|
depends_on:
|
||
|
redis:
|
||
|
condition: service_healthy
|