From 72ae9e222c39536575550a764fd3ce3e1840cb5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Wed, 15 Nov 2023 11:19:12 +0100 Subject: [PATCH] compose file --- install/docker-compose.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 install/docker-compose.yml diff --git a/install/docker-compose.yml b/install/docker-compose.yml new file mode 100644 index 0000000..9a78aa0 --- /dev/null +++ b/install/docker-compose.yml @@ -0,0 +1,38 @@ +services: + # shared cache + redis: + image: redis:7-alpine + restart: always + pull_policy: always + + # necessary for "host" network deployment, + # but only listen on localhost + ports: + - "127.0.0.1:6379:6379" + + app: + image: code.yavook.de/oekzident.de/ovdashboard:0.1.0 + restart: always + pull_policy: always + depends_on: + - redis + + # "app" container needs host ip + network_mode: host + user: root + + environment: + # necessary for "host" network deployment + PORT: "80" + REDIS__HOST: "localhost" + + # >>>>> USER VARIABLES <<<<< + # you will want to adjust these! + TZ: "Europe/Berlin" + + WEBDAV__HOST: "example.com" + WEBDAV__PATH: "/remote.php/webdav" + WEBDAV__PREFIX: "/ovdashboard" + + WEBDAV__USERNAME: "ovd_user" + WEBDAV__PASSWORD: "password"