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