2025-08-04 17:45:44 +02:00
|
|
|
services:
|
2025-10-28 12:44:22 +01:00
|
|
|
storage:
|
|
|
|
|
image: "ghcr.io/marcopedone/go_fs:latest"
|
|
|
|
|
ports:
|
|
|
|
|
- "8080:8080"
|
|
|
|
|
environment:
|
|
|
|
|
PORT: 8080
|
|
|
|
|
AUTH_TOKEN: ${STORAGE_TOKEN}
|
2025-10-28 14:44:14 +01:00
|
|
|
pull_policy: "always"
|
2025-10-28 12:44:22 +01:00
|
|
|
volumes:
|
|
|
|
|
- storage_data:/app/storage
|
2025-11-03 15:50:30 +01:00
|
|
|
restart: unless-stopped
|
2025-10-28 12:44:22 +01:00
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
|
|
|
|
start_period: 10s
|
2025-09-05 16:59:41 +02:00
|
|
|
|
2025-10-28 12:44:22 +01:00
|
|
|
volumes:
|
|
|
|
|
storage_data:
|