Get garage environment working again - main

This commit is contained in:
asonix 2023-07-13 20:04:29 -05:00
parent 4e58388b41
commit 764bf95d44
3 changed files with 9 additions and 7 deletions

View file

@ -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

View file

@ -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]

View file

@ -34,6 +34,7 @@
clippy
exiftool
ffmpeg_6-full
garage
gcc
imagemagick
protobuf