38 lines
843 B
YAML
38 lines
843 B
YAML
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.2.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"
|