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"