Last active
September 6, 2023 14:46
-
-
Save bahorn/5326e02a3563422967f383e843a82d2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
minio: | |
image: 'bahorn/minio:latest' | |
command: minio server /data | |
restart: always | |
ports: | |
- '9000:9000' | |
volumes: | |
- /mnt/compute:/data:rw | |
environment: | |
MINIO_ACCESS_KEY: a1 | |
MINIO_SECRET_KEY: s1 | |
minio_gateway: | |
image: 'bahorn/minio:latest' | |
command: minio gateway --address 0.0.0.0:9001 b2 | |
restart: always | |
ports: | |
- '9001:9001' | |
environment: | |
MINIO_ACCESS_KEY: a2 | |
MINIO_SECRET_KEY: s2 | |
volumes: | |
- /mnt/compute:/data:ro | |
private_backup: | |
image: 'bahorn/mc:latest' | |
command: mirror --exclude ".*" --overwrite --remove -w /data bb/<private_bucket> | |
restart: always | |
volumes: | |
- /mnt/compute/private:/data:ro | |
- /srv/mc:/root/.mc:ro | |
depends_on: | |
- minio_gateway | |
public_backup: | |
image: 'bahorn/mc:latest' | |
restart: always | |
command: mirror --exclude ".*" --overwrite --remove -w /data bb/<public_bucket> | |
volumes: | |
- /mnt/compute/public:/data:ro | |
- /srv/mc:/root/.mc:ro | |
depends_on: | |
- minio_gateway |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Containers are ones I built as the machine is ARM based (A Nvidia TX2) and the official builds are only PPC/x86_64.