forked from DevOps/deploy.stack
refactor(etc): convert daemon.json to jsonc with trailing commas
Replace sensitive config values with comment fields
This commit is contained in:
@@ -4,14 +4,14 @@
|
|||||||
"log-driver": "json-file",
|
"log-driver": "json-file",
|
||||||
"log-opts": {
|
"log-opts": {
|
||||||
"max-size": "10m",
|
"max-size": "10m",
|
||||||
"max-file": "3"
|
"max-file": "3",
|
||||||
},
|
},
|
||||||
"default-ulimits": {
|
"default-ulimits": {
|
||||||
"nofile": {
|
"nofile": {
|
||||||
"Name": "nofile",
|
"Name": "nofile",
|
||||||
"Hard": 65535,
|
"Hard": 65535,
|
||||||
"Soft": 65535
|
"Soft": 65535,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
"registry-mirrors": [
|
"registry-mirrors": [
|
||||||
"https://docker.m.daocloud.io",
|
"https://docker.m.daocloud.io",
|
||||||
@@ -19,8 +19,9 @@
|
|||||||
"https://docker.1panel.dev",
|
"https://docker.1panel.dev",
|
||||||
"https://docker.367231.xyz",
|
"https://docker.367231.xyz",
|
||||||
"https://dockerproxy.net",
|
"https://dockerproxy.net",
|
||||||
"https://hub.rat.dev"
|
"https://hub.rat.dev",
|
||||||
],
|
],
|
||||||
"insecure-registries": ["hub.tp229.com:3500"],
|
"_comment_20260618173842": "\"insecure-registries\": [\"hub.tp229.com:3500\"]",
|
||||||
"bip": "172.18.0.1/16"
|
"_comment_20260619173657": "按实际情况填写",
|
||||||
|
"_comment_20260619173708": "\"bip\": \"172.18.0.1/16\"",
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user