proxyraye-nextjs/docker-compose.yaml

32 lines
670 B
YAML

version: '3.8'
services:
proxyraye:
# image: lamacchinadesiderante/proxyraye:latest
restart: always
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/api/status || exit 1
interval: 60s
retries: 5
start_period: 20s
timeout: 10s
build: .
ports:
- "8069:3000"
environment:
- ENABLE_REDIS=true
- REDIS_URL=redis://redis:6379
# Please generate a new encoding key with command `pwgen 20 1`, decomment following variable and insert result into it:
# - ENCODING_KEY=
redis:
image: redis:alpine
container_name: redis
restart: unless-stopped