forked from meateam/upload-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
35 lines (35 loc) · 1012 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '2'
services:
minio:
image: minio/minio
volumes:
- './data:/data'
ports:
- '9000:9000'
environment:
MINIO_ACCESS_KEY: F6WUUG27HBUFSIXVZL59
MINIO_SECRET_KEY: BPlIUU6SX0ZxiCMo3tIpCMAUdnmkN9Eo9K42NsRR
command: server /data
upload-service:
image: upload-service
build:
context: .
dockerfile: Dockerfile
environment:
S3_ACCESS_KEY: F6WUUG27HBUFSIXVZL59
S3_SECRET_KEY: BPlIUU6SX0ZxiCMo3tIpCMAUdnmkN9Eo9K42NsRR
S3_ENDPOINT: http://minio:9000
TCP_PORT: 8080
HEALTH_CHECK_INTERVAL: 5
ELASTIC_APM_SERVER_URL: 'http://localhost:8200'
ELASTIC_APM_SERVICE_NAME: 'upload-service'
ELASTIC_APM_SERVICE_VERSION: '0.1'
ELASTIC_APM_ENVIRONMENT: 'development'
ELASTIC_APM_ACTIVE: 'true'
ELASTIC_APM_CAPTURE_BODY: 'all'
ELASTIC_APM_METRICS_INTERVAL: '10s'
US_ELASTIC_APM_IGNORE_URLS: '/grpc.health.v1.Health/Check'
ports:
- 8080:8080
depends_on:
- minio