From aed6ef3a2710fa1e85b682f6a8001261d22853f0 Mon Sep 17 00:00:00 2001 From: Vincent Boutour Date: Sun, 14 Aug 2022 13:57:51 +0200 Subject: [PATCH] refactor: Code cleaning from audit Signed-off-by: Vincent Boutour --- .editorconfig | 3 --- README.md | 2 +- docker-compose.yaml | 8 ++++---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index 4a9a8f34..714e6310 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,3 @@ trim_trailing_whitespace = true [{Makefile,*.go,go.mod}] indent_style = tab - -[*.py] -indent_size = 4 diff --git a/README.md b/README.md index 3d0000cd..3f99ad04 100644 --- a/README.md +++ b/README.md @@ -201,7 +201,7 @@ You can inspire yourself from the [docker-compose.yaml](docker-compose.yaml) fil DATA_USER_ID="$(id -u)" DATA_DIR="$(pwd)" BASIC_USERS="1:$(htpasswd -nBb admin password)" docker compose up ``` -You'll find a Kubernetes exemple in the [`infra/`](infra/) folder, using my [`app chart`](https://github.com/ViBiOh/charts/tree/main/app). My personnal k8s runs on `arm64` and thumbnail converters are not yet ready for this architecture, so I use a mix of `helm` and `docker-compose.yaml`. +You'll find a Kubernetes exemple in the [`infra/`](infra) folder, using my [`app chart`](https://github.com/ViBiOh/charts/tree/main/app). My personnal k8s runs on `arm64` and thumbnail converters are not yet ready for this architecture, so I use a mix of `helm` and `docker-compose.yaml`. ## Endpoints diff --git a/docker-compose.yaml b/docker-compose.yaml index 4ef93032..b83b175b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -17,7 +17,7 @@ services: - vith - exas user: '${DATA_USER_ID}' - restart: on-failure:5 + restart: on-failure read_only: true vith: @@ -27,11 +27,11 @@ services: volumes: - ${DATA_DIR}:/data user: '${DATA_USER_ID}' - restart: on-failure:5 + restart: on-failure image: image: h2non/imaginary - restart: on-failure:5 + restart: on-failure read_only: true exas: @@ -42,4 +42,4 @@ services: volumes: - ${DATA_DIR}:/data user: '${DATA_USER_ID}' - restart: on-failure:5 + restart: on-failure