headline/docker-compose.yml

29 lines
542 B
YAML
Raw Normal View History

2022-08-25 15:10:08 +02:00
version: "3.8"
services:
view:
build: ./view/
command: python app.py
ports:
2023-08-16 23:01:45 +02:00
- "5050:5000"
2022-08-25 15:10:08 +02:00
volumes:
- ./view:/app
- ./data:/data
2022-08-25 17:29:18 +02:00
- /etc/localtime:/etc/localtime
2022-08-25 15:10:08 +02:00
container_name: view
restart: unless-stopped
processor:
build: ./processor/
volumes:
- ./processor:/app
- ./data:/data
2022-08-25 17:29:18 +02:00
- /etc/localtime:/etc/localtime
2022-08-25 15:10:08 +02:00
container_name: processor
restart: unless-stopped
redis:
image: redis:latest
restart: unless-stopped
container_name: redis_db