mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Get garage environment working again
This commit is contained in:
parent
943c4d5b58
commit
0f0a446ecf
3 changed files with 9 additions and 7 deletions
|
@ -21,13 +21,13 @@ services:
|
|||
# - ./storage/pict-rs:/mnt
|
||||
# - ../../:/opt/app
|
||||
|
||||
pictrs_proxy:
|
||||
image: asonix/pictrs-proxy:0.4.0-rc.2
|
||||
ports:
|
||||
- "8081:8081"
|
||||
environment:
|
||||
- PICTRS_PROXY_UPSTREAM=http://pictrs:8080
|
||||
- PICTRS_PROXY_OPENTELEMETRY_URL=http://otel:4137
|
||||
# pictrs_proxy:
|
||||
# image: asonix/pictrs-proxy:0.4.0-rc.2
|
||||
# ports:
|
||||
# - "8081:8081"
|
||||
# environment:
|
||||
# - PICTRS_PROXY_UPSTREAM=http://pictrs:8080
|
||||
# - PICTRS_PROXY_OPENTELEMETRY_URL=http://otel:4137
|
||||
|
||||
minio:
|
||||
image: quay.io/minio/minio
|
||||
|
|
|
@ -19,6 +19,7 @@ key_id=$(garage -c garage-local.toml key info pict-rs-key 2>>"${STDERR}" | grep
|
|||
secret_key=$(garage -c garage-local.toml key info pict-rs-key 2>>"${STDERR}" | grep "Secret key" | awk '{ print $3 }')
|
||||
|
||||
garage -c garage-local.toml bucket allow --read --write --owner pict-rs --key pict-rs-key >>"${STDOUT}" 2>>"${STDERR}"
|
||||
garage -c garage-local.toml bucket website pict-rs --allow >> "${STDOUT}" 2>>"${STDERR}"
|
||||
|
||||
cat > pict-rs-garage.toml <<EOF
|
||||
[server]
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
clippy
|
||||
exiftool
|
||||
ffmpeg_6-full
|
||||
garage
|
||||
gcc
|
||||
imagemagick
|
||||
protobuf
|
||||
|
|
Loading…
Reference in a new issue