2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

Update object storage testing configs

This commit is contained in:
asonix 2022-09-24 20:34:13 -05:00
parent a6adde874e
commit 29a998a665
3 changed files with 10 additions and 14 deletions

View file

@ -14,8 +14,6 @@ services:
environment: environment:
- PICTRS__TRACING__CONSOLE__ADDRESS=0.0.0.0:6669 - PICTRS__TRACING__CONSOLE__ADDRESS=0.0.0.0:6669
- PICTRS__TRACING__OPENTELEMETRY__URL=http://otel:4137 - PICTRS__TRACING__OPENTELEMETRY__URL=http://otel:4137
links:
- "minio:pict-rs.minio"
stdin_open: true stdin_open: true
tty: true tty: true
volumes: volumes:
@ -23,7 +21,7 @@ services:
- ../../:/opt/app - ../../:/opt/app
pictrs_proxy: pictrs_proxy:
image: asonix/pictrs-proxy:0.3 image: asonix/pictrs-proxy:0.4.0-alpha.4
ports: ports:
- "8081:8081" - "8081:8081"
environment: environment:

View file

@ -11,7 +11,8 @@ exporters:
logging: logging:
jaeger: jaeger:
endpoint: jaeger:14250 endpoint: jaeger:14250
insecure: true tls:
insecure: true
service: service:
pipelines: pipelines:

View file

@ -1,6 +1,7 @@
[server] [server]
address = '0.0.0.0:8080' address = '0.0.0.0:8080'
worker_id = 'pict-rs-1' worker_id = 'pict-rs-1'
[tracing.logging] [tracing.logging]
format = 'normal' format = 'normal'
targets = 'warn,tracing_actix_web=info,actix_server=info,actix_web=info' targets = 'warn,tracing_actix_web=info,actix_server=info,actix_web=info'
@ -21,13 +22,7 @@ max_height = 10000
max_area = 40000000 max_area = 40000000
max_file_size = 40 max_file_size = 40
enable_silent_video = true enable_silent_video = true
filters = [ filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
'blur',
'crop',
'identity',
'resize',
'thumbnail',
]
skip_validate_imports = false skip_validate_imports = false
[repo] [repo]
@ -37,7 +32,9 @@ cache_capacity = 67108864
[store] [store]
type = 'object_storage' type = 'object_storage'
endpoint = 'http://minio:9000'
use_path_style = true
bucket_name = 'pict-rs' bucket_name = 'pict-rs'
region = 'http://minio:9000' region = 'minio'
access_key = 'Q7Z3AY3JO01N27UNH5IR' access_key = 'pictrs'
secret_key = 'bH3Kj6UVJF+btBtWsExVurN3ukEilC3saECsupzi' secret_key = 'pictrspass'