-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.example.yaml
More file actions
24 lines (24 loc) · 993 Bytes
/
Copy pathcompose.example.yaml
File metadata and controls
24 lines (24 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
services:
diskwake:
build: .
container_name: diskwake
restart: unless-stopped
environment:
TZ: Etc/UTC # set to your local timezone
# Optional override. UI runs on :8080 by default.
# DISKWAKE_PORT: "8080"
volumes:
- ./config.yaml:/etc/diskwake/config.yaml:ro
# Read-only web UI. Exposes status, current config, and live logs.
ports:
- "8080:8080"
devices:
# Format is "host_path:container_path". The container_path on the
# right must match the `device:` value used for this disk in
# config.yaml. The host_path on the left is specific to your
# machine — find it with:
# ls -l /dev/disk/by-id/
# Always use a /dev/disk/by-id/... path on the host side, never
# /dev/sdX directly, since device letters can change across reboots.
- "/dev/disk/by-id/REPLACE_WITH_YOUR_DISK_1_ID:/dev/disk/backup-drive"
- "/dev/disk/by-id/REPLACE_WITH_YOUR_DISK_2_ID:/dev/disk/media-drive"