services: garage: image: dxflrs/garage:v2.3.0 container_name: garage restart: unless-stopped network_mode: "host" volumes: - ./garage.toml:/etc/garage.toml:ro - garage_meta:/var/lib/garage/meta - garage_data:/var/lib/garage/data environment: - RUST_LOG=garage=trace healthcheck: test: ["CMD", "/garage", "status"] interval: 30s timeout: 10s retries: 3 start_period: 30s webui: image: khairul169/garage-webui:latest container_name: garage-webui restart: unless-stopped network_mode: "host" volumes: - ./garage.toml:/etc/garage.toml:ro environment: API_BASE_URL: "http://127.0.0.1:3903" S3_ENDPOINT_URL: "https://s3-api.yiem.cc" # Format: "username:bcrypt_hash" (generate via: htpasswd -nbBC 10 "admin" "yourpassword") AUTH_USER_PASS: "admin:$$2y$$10$$fhEucJHW8N5p8NL7Gv4Bi.FZVngbq/zatVDCjl.V.xNtj5q1PNUZW" depends_on: garage: condition: service_healthy volumes: garage_meta: driver: local driver_opts: type: none o: bind device: ./data/meta garage_data: driver: local driver_opts: type: none o: bind device: ./data/storage