2024-01-22 01:59:38 +02:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
drive-health:
|
2024-01-22 02:12:18 +02:00
|
|
|
# Latest image pull, mention the specific version here please.
|
2024-01-22 01:59:38 +02:00
|
|
|
image: ghcr.io/justkato/drive-health:latest
|
2024-01-22 02:12:18 +02:00
|
|
|
# Restart in case of crashing
|
|
|
|
restart: unless-stopped
|
|
|
|
# Load environment variables from .env file
|
2024-01-22 01:59:38 +02:00
|
|
|
env_file:
|
|
|
|
- .env
|
2024-01-22 02:12:18 +02:00
|
|
|
# Mount the volume to the local drive
|
2024-01-22 01:59:38 +02:00
|
|
|
volumes:
|
2024-01-22 02:12:18 +02:00
|
|
|
- ./data:/data
|
2024-01-22 01:59:38 +02:00
|
|
|
# Setup application ports
|
|
|
|
ports:
|
2024-01-22 02:12:18 +02:00
|
|
|
- 5003:8080
|