heartbeats/docker-compose.example.yml

30 lines
574 B
YAML
Raw Normal View History

2022-12-17 01:52:19 +00:00
version: '3.9'
services:
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:
image: redis
restart: unless-stopped
volumes:
- './redis-data:/data'
populater:
build:
context: .
dockerfile: ./populater/Dockerfile
restart: unless-stopped
environment:
- CLIENT_ID=${CLIENT_ID}
- CLIENT_SECRET=${CLIENT_SECRET}