Automatische DWD Abfrage

Crontab hinzugefügt und automatische DWD Abfrage jeden Monat eingerichtet.
This commit is contained in:
Moritz Utcke
2024-01-06 15:42:59 +07:00
parent 30cc5fab63
commit dfd7cce6c8
9 changed files with 117 additions and 46 deletions

View File

@@ -9,24 +9,14 @@ services:
environment:
PORT: 3000
NODE_ENV: "development"
ports:
- 3000:3000
network_mode: host
volumes:
- ./:/online-energieausweis
- ./node_modules/@ibcornelsen/ui:/online-energieausweis/node_modules/@ibcornelsen/ui
- ./node_modules/@ibcornelsen/database:/online-energieausweis/node_modules/@ibcornelsen/database
- ./persistent:/persistent
networks:
- postgres
database:
network_mode: host
build: ../database
env_file:
- ../database/.env
ports:
- "5432:5432"
networks:
- postgres
networks:
postgres:
driver: bridge
- ../database/.env