Skip to content

Commit

Permalink
refactor: Code cleaning from audit
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Aug 14, 2022
1 parent 009bfdc commit aed6ef3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ trim_trailing_whitespace = true

[{Makefile,*.go,go.mod}]
indent_style = tab

[*.py]
indent_size = 4
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
- vith
- exas
user: '${DATA_USER_ID}'
restart: on-failure:5
restart: on-failure
read_only: true

vith:
Expand All @@ -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:
Expand All @@ -42,4 +42,4 @@ services:
volumes:
- ${DATA_DIR}:/data
user: '${DATA_USER_ID}'
restart: on-failure:5
restart: on-failure

0 comments on commit aed6ef3

Please sign in to comment.