mirror of
https://github.com/valitydev/file-storage.git
synced 2024-11-06 00:35:22 +00:00
38 lines
818 B
YAML
38 lines
818 B
YAML
version: '2.3'
|
|
services:
|
|
file-storage:
|
|
build: target/
|
|
image: file-storage:1.0.0-SNAPSHOT
|
|
ports:
|
|
- "8022:8022"
|
|
depends_on:
|
|
- ceph
|
|
networks:
|
|
- fsnet
|
|
environment:
|
|
SERVICE_NAME: "file-storage"
|
|
storage.endpoint: "ceph:80"
|
|
storage.signingRegion: "RU"
|
|
storage.accessKey: "test"
|
|
storage.secretKey: "test"
|
|
storage.clientProtocol: "HTTP"
|
|
storage.clientMaxErrorRetry: "10"
|
|
storage.bucketName: "test"
|
|
|
|
ceph:
|
|
image: 'dr.rbkmoney.com/ceph-demo:latest'
|
|
ports:
|
|
- "32827:80"
|
|
networks:
|
|
- fsnet
|
|
environment:
|
|
- RGW_NAME=localhost
|
|
- NETWORK_AUTO_DETECT=4
|
|
- CEPH_DEMO_UID=ceph-test
|
|
- CEPH_DEMO_ACCESS_KEY=test
|
|
- CEPH_DEMO_SECRET_KEY=test
|
|
- CEPH_DEMO_BUCKET=TEST
|
|
|
|
networks:
|
|
fsnet:
|