heartbeats/docker-compose.yml

33 lines
669 B
YAML
Raw Permalink Normal View History

2024-01-26 01:46:39 +00:00
version: '3.9'
services:
web:
hostname: heartbeats-web
build:
context: .
dockerfile: ./web/Dockerfile
restart: unless-stopped
ports:
- 8464:80
environment:
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}
- BASE_URL=http://localhost:8464
redis:
hostname: heartbeats-redis
image: redis
restart: unless-stopped
volumes:
- './redis-data:/data'
populater:
hostname: heartbeats-populater
build:
context: .
dockerfile: ./populater/Dockerfile
restart: unless-stopped
environment:
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}