37 lines
869 B
YAML
Executable File
37 lines
869 B
YAML
Executable File
services:
|
|
minio:
|
|
image: minio/minio:latest
|
|
container_name: minio
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- MINIO_ROOT_USER=${ADMIN_USER}
|
|
- MINIO_ROOT_PASSWORD=${ADMIN_PASSWORD}
|
|
- MINIO_BROWSER_REDIRECT_URL=http://192.168.68.168:9001
|
|
- MINIO_SERVER_URL=http://192.168.68.168:9000
|
|
command: server /data --console-address ":9001"
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
volumes:
|
|
- /vol2/1000/minio/data:/data
|
|
- /vol2/1000/minio/config:/root/.minio
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
networks:
|
|
- trim-default
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 2G
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
trim-default:
|
|
external: true
|