-
Notifications
You must be signed in to change notification settings - Fork 7
/
compose.yaml
48 lines (44 loc) · 1.22 KB
/
compose.yaml
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
44
45
46
47
48
# SPDX-FileCopyrightText: 2023 Steffen Vogel <post@steffenvogel.de>
# SPDX-License-Identifier: Apache-2.0
---
services:
minio:
image: minio/minio:RELEASE.2022-06-03T01-40-53Z.fips
command: server /mnt/data --console-address ":9001"
ports:
- 9000:9000 # API
- 9001:9001 # Webinterface
environment:
MINIO_ROOT_USER: "admin-user" # changeme!
MINIO_ROOT_PASSWORD: "admin-pass" # changeme!
MINIO_SERVER_URL: "http://localhost:9000"
MINIO_SITE_REGION: "s3"
volumes:
- minio-data:/mnt/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/ready"]
interval: 30s
timeout: 20s
retries: 3
gose:
image: ghcr.io/stv0g/gose:v0.4.0
build:
context: .
ports:
- 8080:8080
environment:
GOSE_LISTEN: ":8080"
GOSE_BASE_URL: "http://localhost:8080"
GOSE_BUCKET: "gose-uploads"
GOSE_ENDPOINT: "minio:9000"
GOSE_REGION: "s3"
GOSE_PATH_STYLE: "true"
GOSE_NO_SSL: "true"
GOSE_ACCESS_KEY: "admin-user" # changeme!
GOSE_SECRET_KEY: "admin-pass" # changeme!
GOSE_MAX_UPLOAD_SIZE: "50GB"
GOSE_PART_SIZE: "16MB"
depends_on:
- minio
volumes:
minio-data: