mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 11:53:35 +01:00
27 lines
466 B
YAML
27 lines
466 B
YAML
|
version: "3.8"
|
||
|
services:
|
||
|
view:
|
||
|
build: ./view/
|
||
|
command: python app.py
|
||
|
ports:
|
||
|
- "5000:5000"
|
||
|
volumes:
|
||
|
- ./view:/app
|
||
|
- ./data:/data
|
||
|
container_name: view
|
||
|
restart: unless-stopped
|
||
|
|
||
|
processor:
|
||
|
build: ./processor/
|
||
|
volumes:
|
||
|
- ./processor:/app
|
||
|
- ./data:/data
|
||
|
container_name: processor
|
||
|
restart: unless-stopped
|
||
|
|
||
|
redis:
|
||
|
image: redis:latest
|
||
|
restart: unless-stopped
|
||
|
container_name: redis_db
|
||
|
|