pict-rs/docker/object-storage/docker-compose.yml
asonix 0da6159cf1
All checks were successful
continuous-integration/drone/push Build is passing
Update object-storage docker section to try for garage support
Garage doesn't work yet. There's an incompatibility between rusty-s3 and garage
relevant code:
- https://github.com/paolobarbolini/rusty-s3/blob/main/src/actions/multipart_upload/create.rs#L81
- https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/main/src/api/router_macros.rs#L174

Hopefully one of the sides fixes this soon. I asked in the garage matrix channel, and if they
point me back to rusty-s3 I'll open an issue there.
2022-12-07 22:45:36 -06:00

73 lines
1.5 KiB
YAML

version: '3.3'
services:
pictrs:
build:
context: .
dockerfile: ./Dockerfile
args:
UID: "${USER_ID:-1000}"
GID: "${GROUP_ID:-1000}"
ports:
- "8080:8080"
- "6669:6669"
environment:
- PICTRS__TRACING__CONSOLE__ADDRESS=0.0.0.0:6669
- PICTRS__TRACING__OPENTELEMETRY__URL=http://otel:4137
- RUST_BACKTRACE=1
stdin_open: true
tty: true
volumes:
- ./storage/pict-rs:/mnt
- ../../:/opt/app
pictrs_proxy:
image: asonix/pictrs-proxy:0.4.0-beta.1
ports:
- "8081:8081"
environment:
- PICTRS_PROXY_UPSTREAM=http://pictrs:8080
- PICTRS_PROXY_OPENTELEMETRY_URL=http://otel:4137
minio:
image: quay.io/minio/minio
command: server /mnt --console-address ":9001"
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./storage/minio:/mnt
garage:
image: dxflrs/garage:v0.8.0
ports:
- "3900:3900"
- "3901:3901"
- "3902:3902"
- "3903:3903"
- "3904:3904"
environment:
- RUST_LOG=debug
volumes:
- ./storage/garage:/mnt
- ./garage.toml:/etc/garage.toml
otel:
image: otel/opentelemetry-collector:latest
command: --config otel-local-config.yaml
volumes:
- type: bind
source: ./otel.yml
target: /otel-local-config.yaml
restart: always
depends_on:
- jaeger
jaeger:
image: jaegertracing/all-in-one:1
ports:
- "14250:14250"
# To view traces, visit http://localhost:16686
- "16686:16686"
restart: always