models.py moved to models/models.py

refactor all imports
This commit is contained in:
2025-07-15 10:45:56 +00:00
parent 661d25d70c
commit f37744b31e
29 changed files with 379 additions and 462 deletions

View File

@@ -1,8 +1,27 @@
networks:
infoscreen-net:
driver: bridge
services:
listener:
build:
context: ./listener
dockerfile: Dockerfile
image: infoscreen-listener:latest
container_name: infoscreen-listener
restart: unless-stopped
depends_on:
db:
condition: service_healthy
mqtt:
condition: service_healthy
environment:
- DB_URL=mysql+pymysql://${DB_USER}:${DB_PASSWORD}@db/${DB_NAME}
volumes:
- ./listener:/app:rw
networks:
- infoscreen-net
proxy:
image: nginx:1.27
container_name: infoscreen-proxy