parent
b5065673ab
commit
17f54da524
@ -0,0 +1,9 @@
|
||||
import checkAndCopyConfig from "utils/config";
|
||||
|
||||
const configs = ["docker.yaml", "settings.yaml", "services.yaml", "bookmarks.yaml"];
|
||||
|
||||
export default async function handler(req, res) {
|
||||
const errors = configs.map((config) => checkAndCopyConfig(config)).filter((status) => status !== true);
|
||||
|
||||
res.send(errors);
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
---
|
||||
# For configuration options and examples, please see:
|
||||
# https://github.com/benphelps/homepage/wiki/Docker-Integration
|
||||
|
||||
my-docker:
|
||||
host: 127.0.0.1
|
||||
port: 2375
|
||||
# my-docker:
|
||||
# host: 127.0.0.1
|
||||
# port: 2375
|
||||
|
||||
other-docker:
|
||||
socket: /var/run/docker.sock
|
||||
# my-docker:
|
||||
# socket: /var/run/docker.sock
|
||||
|
Loading…
Reference in new issue