-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
28 lines (22 loc) · 754 Bytes
/
config.example.yaml
File metadata and controls
28 lines (22 loc) · 754 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
25
26
27
28
# Docker Image Service Configuration
# Server listening port (default: 8080)
port: 8080
# Directory to cache downloaded images (optional)
# If not specified, uses a temporary directory
cache_dir: /tmp/docker-images
# Maximum age for cached images before they are considered stale and eligible for cleanup.
# Supports duration formats like "24h", "30m".
max_cache_age: 48h
# Per-registry credentials
# Use registry hostname as the key
registries:
ghcr.io:
username: your-github-username
password: your-github-token
registry.example.com:
username: admin
password: your-password
# Docker Hub credentials (use any of these hostnames)
# docker.io:
# username: your-dockerhub-username
# password: your-dockerhub-token