2021-10-29 01:59:11 +00:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
pictrs:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
args:
|
|
|
|
UID: "${USER_ID:-1000}"
|
|
|
|
GID: "${GROUP_ID:-1000}"
|
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
2022-04-11 20:39:11 +00:00
|
|
|
- "6669:6669"
|
2022-04-07 02:40:49 +00:00
|
|
|
environment:
|
2022-04-11 20:39:11 +00:00
|
|
|
- PICTRS__TRACING__CONSOLE__ADDRESS=0.0.0.0:6669
|
2022-04-07 02:40:49 +00:00
|
|
|
- PICTRS__TRACING__OPENTELEMETRY__URL=http://otel:4137
|
2021-10-29 01:59:11 +00:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
volumes:
|
|
|
|
- ./storage/pict-rs:/mnt
|
|
|
|
- ../../:/opt/app
|
|
|
|
|
|
|
|
pictrs_proxy:
|
2022-09-25 01:34:13 +00:00
|
|
|
image: asonix/pictrs-proxy:0.4.0-alpha.4
|
2021-10-29 01:59:11 +00:00
|
|
|
ports:
|
|
|
|
- "8081:8081"
|
|
|
|
environment:
|
|
|
|
- PICTRS_PROXY_UPSTREAM=http://pictrs:8080
|
2022-04-07 18:28:41 +00:00
|
|
|
- PICTRS_PROXY_OPENTELEMETRY_URL=http://otel:4137
|
2021-10-29 01:59:11 +00:00
|
|
|
|
|
|
|
minio:
|
|
|
|
image: quay.io/minio/minio
|
|
|
|
command: server /mnt --console-address ":9001"
|
|
|
|
ports:
|
|
|
|
- "9000:9000"
|
|
|
|
- "9001:9001"
|
|
|
|
volumes:
|
|
|
|
- ./storage/minio:/mnt
|
2022-04-07 02:40:49 +00:00
|
|
|
|
|
|
|
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
|