Add garage

This commit is contained in:
Florent Guiotte 2025-12-31 17:19:19 +01:00
parent 956e0249b1
commit a3fa0ae3fb
3 changed files with 50 additions and 2 deletions

1
.gitattributes vendored
View File

@ -8,3 +8,4 @@ ddclient/ddclient.conf filter=git-crypt diff=git-crypt
htpasswd filter=git-crypt diff=git-crypt
id_rsa filter=git-crypt diff=git-crypt
.env filter=git-crypt diff=git-crypt
garage.toml filter=git-crypt diff=git-crypt

View File

@ -62,6 +62,37 @@ To backup the named volumes, run:
./backup.py
```
## Garage
### Utils
```bash
garage status
garage bucket list
garage help
```
### Create a new bucket
```bash
garage bucket create test
garage bucket info test
```
### Create new key
```bash
garage key create test-app-key
garage key list
garage key info test-app-key
```
### Add key to bucket
```bash
garage bucket allow --read --write --owner test --key test-app-key
```
## Logs
2022-11-02 Created OVH token

View File

@ -439,13 +439,28 @@ services:
VIKUNJA_MAILER_PASSWORD: ${MAIL_PASSWORD}
VIKUNJA_MAILER_FORCESSL: ${MAIL_USE_SSL}
VIKUNJA_SERVICE_ENABLEREGISTRATION: false
volumes:
- vikunja-data:/app/vikunja/files
- vikunja-db:/db
garage:
image: dxflrs/garage:v2.1.0
container_name: garage
restart: unless-stopped
environment:
<<: *common-environment
volumes:
- ./garage/garage.toml:/etc/garage.toml
- garage-meta:/meta
- ./data/garage-data:/data
ports:
- 3900:3900
- 3901:3901
- 3902:3902
- 3903:3903
volumes:
money-data:
lychee-db:
@ -475,6 +490,7 @@ volumes:
taskchampion-data:
vikunja-data:
vikunja-db:
garage-meta:
secrets: