2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-01 18:19:56 +00:00
pict-rs/docker/object-storage/docker-compose.yml

84 lines
1.9 KiB
YAML
Raw Normal View History

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"
# - "6669:6669"
# environment:
# - PICTRS__TRACING__CONSOLE__ADDRESS=0.0.0.0:6669
2023-09-04 01:05:29 +00:00
# - PICTRS__TRACING__OPENTELEMETRY__URL=http://jaeger:4317
# - RUST_BACKTRACE=1
# stdin_open: true
# tty: true
# volumes:
# - ./storage/pict-rs:/mnt
# - ../../:/opt/app
2021-10-29 01:59:11 +00:00
# pictrs_proxy:
# image: asonix/pictrs-proxy:0.4.0-rc.2
# ports:
# - "8081:8081"
# environment:
# - PICTRS_PROXY_UPSTREAM=http://pictrs:8080
2023-09-04 01:05:29 +00:00
# - PICTRS_PROXY_OPENTELEMETRY_URL=http://jaeger:4317
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
garage:
image: dxflrs/garage:v0.9.0
ports:
- "3900:3900"
- "3901:3901"
- "3902:3902"
- "3903:3903"
- "3904:3904"
environment:
2023-09-04 01:05:29 +00:00
- RUST_LOG=info
volumes:
- ./storage/garage:/mnt
- ./garage.toml:/etc/garage.toml
2023-09-04 01:05:29 +00:00
postgres:
2024-01-15 23:15:36 +00:00
build:
context: .
dockerfile: ./Dockerfile.postgres
2023-09-04 01:05:29 +00:00
ports:
- "5432:5432"
environment:
- PGDATA=/var/lib/postgresql/data
- POSTGRES_DB=pictrs
- POSTGRES_USER=pictrs
- POSTGRES_PASSWORD=1234
2022-04-07 02:40:49 +00:00
volumes:
2023-09-04 01:05:29 +00:00
- ./storage/postgres:/var/lib/postgresql/data
2022-04-07 02:40:49 +00:00
jaeger:
2023-09-04 01:05:29 +00:00
image: jaegertracing/all-in-one:1.48
2022-04-07 02:40:49 +00:00
ports:
2023-09-04 01:05:29 +00:00
- "6831:6831/udp"
- "6832:6832/udp"
- "5778:5778"
- "4317:4317"
- "4138:4138"
2022-04-07 02:40:49 +00:00
- "14250:14250"
2023-09-04 01:05:29 +00:00
- "14268:14268"
- "14269:14269"
- "9411:9411"
2022-04-07 02:40:49 +00:00
# To view traces, visit http://localhost:16686
- "16686:16686"
restart: always