mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2025-02-08 09:32:23 +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]
|
[store]
|
||||||
type = 'filesystem'
|
type = 'filesystem'
|
||||||
path = 'data/files-local'
|
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'
|
version: '3.3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
pictrs:
|
# pictrs:
|
||||||
build:
|
# build:
|
||||||
context: .
|
# context: .
|
||||||
dockerfile: ./Dockerfile
|
# dockerfile: ./Dockerfile
|
||||||
args:
|
# args:
|
||||||
UID: "${USER_ID:-1000}"
|
# UID: "${USER_ID:-1000}"
|
||||||
GID: "${GROUP_ID:-1000}"
|
# GID: "${GROUP_ID:-1000}"
|
||||||
ports:
|
# ports:
|
||||||
- "8080:8080"
|
# - "8080:8080"
|
||||||
- "6669:6669"
|
# - "6669:6669"
|
||||||
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
|
||||||
- RUST_BACKTRACE=1
|
# - RUST_BACKTRACE=1
|
||||||
stdin_open: true
|
# stdin_open: true
|
||||||
tty: true
|
# tty: true
|
||||||
volumes:
|
# volumes:
|
||||||
- ./storage/pict-rs:/mnt
|
# - ./storage/pict-rs:/mnt
|
||||||
- ../../:/opt/app
|
# - ../../:/opt/app
|
||||||
|
|
||||||
pictrs_proxy:
|
pictrs_proxy:
|
||||||
image: asonix/pictrs-proxy:0.4.0-beta.1
|
image: asonix/pictrs-proxy:0.4.0-rc.2
|
||||||
ports:
|
ports:
|
||||||
- "8081:8081"
|
- "8081:8081"
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue