mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-11-20 11:21:14 +00:00
Allow testing object-storage with native pict-rs
This commit is contained in:
parent
7274538b70
commit
d16e81be20
2 changed files with 29 additions and 20 deletions
9
dev.toml
9
dev.toml
|
@ -35,3 +35,12 @@ cache_capacity = 67108864
|
|||
[store]
|
||||
type = 'filesystem'
|
||||
path = 'data/files-local'
|
||||
|
||||
# [store]
|
||||
# type = 'object_storage'
|
||||
# endpoint = 'http://localhost:3900'
|
||||
# use_path_style = true
|
||||
# bucket_name = 'pict-rs'
|
||||
# region = 'garage'
|
||||
# access_key = 'GK75d220d95cac26da41a574c6'
|
||||
# secret_key = '96fa2dc421aaa0026a7e651764958be111fdfdf5260c405b38d85a85f5cd9ea0'
|
||||
|
|
|
@ -1,28 +1,28 @@
|
|||
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:
|
||||
# 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
|
||||
image: asonix/pictrs-proxy:0.4.0-rc.2
|
||||
ports:
|
||||
- "8081:8081"
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue