From 73541796f63bbcec93dce6e3791cb295f96418eb Mon Sep 17 00:00:00 2001 From: elpatron Date: Thu, 20 Mar 2025 12:01:07 +0100 Subject: [PATCH] =?UTF-8?q?Manuelle=20=C3=84nderungen=20in=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 +-------- docker-compose.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore index bcf8804..b808ea5 100644 --- a/.gitignore +++ b/.gitignore @@ -46,14 +46,7 @@ coverage.xml .docker/ # Daten -spezexpo.csv - -# Database -*.db -data/customers.db -data/customers.csv -docker-compose.yml -/data/*.csv +data/ # Virtual Environment develop-eggs/ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5dae3eb --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +services: + web: + build: . + ports: + - "5000:5000" + volumes: + - ./data:/app/data + environment: + - FLASK_APP=app.py + - FLASK_ENV=production + - LOGIN_PASSWORD=01ko86 + - ALLOWED_IP_RANGES=213.178.68.218/29,192.168.0.0/24,192.168.177.0/24 + command: flask run --host=0.0.0.0 \ No newline at end of file