diff --git a/Dockerfile b/Dockerfile index 9551b38..c0ce137 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,7 @@ RUN mkdir -p /run WORKDIR /run COPY . . COPY config.json.template /config/config.json +RUN mkdir -p /state COPY --from=deps /root/venv /root/venv # prepare runtime environment diff --git a/config.json.template b/config.json.template index cf7e5ed..e9a805e 100644 --- a/config.json.template +++ b/config.json.template @@ -7,5 +7,5 @@ "syslog_address": "", "teams_webhook": "", "test_webhooks": false, - "verbosity": 2, + "verbosity": 2 } \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 4995dd7..70e1822 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,6 +4,8 @@ services: container_name: respotter image: ghcr.io/lawndoc/respotter:latest network_mode: host + security_opt: + - label:disable restart: always volumes: - ./config:/config