-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
43 lines (39 loc) · 1.04 KB
/
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
36
37
38
39
40
41
42
43
version: '3.3'
services:
vhost:
image: jwilder/nginx-proxy:alpine
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
minio:
image: minio/minio
depends_on:
- vhost
entrypoint: sh
command: -c 'mkdir -p /export/niffler && /usr/bin/minio server /export'
environment:
MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
VIRTUAL_HOST: minio.127.0.0.1.nip.io
ports:
- "9000:9000"
volumes:
- minio-data:/export
- minio-config:/root/.minio
niffler:
build: ./
depends_on:
- minio
- vhost
environment:
STORAGE_SIGNEDURL_TTL: 10000
STORAGE_MAX_UPLOAD_SIZE: 5242880
STORAGE_ENDPOINT: http://minio:9000/
STORAGE_BUCKET: niffler
STORAGE_CREDENTIALS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE
STORAGE_CREDENTIALS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
VIRTUAL_HOST: niffler.127.0.0.1.nip.io
volumes:
minio-config:
minio-data: