{"id":20179721,"url":"https://github.com/newset/docker","last_synced_at":"2025-03-03T05:42:36.777Z","repository":{"id":54745151,"uuid":"185916865","full_name":"newset/docker","owner":"newset","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-10T02:38:11.000Z","size":2830,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T16:51:06.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newset.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-10T04:07:50.000Z","updated_at":"2024-08-10T02:38:14.000Z","dependencies_parsed_at":"2024-08-09T17:19:38.313Z","dependency_job_id":"910cd8e7-6e3e-4d6a-818e-7163a5ca1c0f","html_url":"https://github.com/newset/docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newset%2Fdocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newset%2Fdocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newset%2Fdocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newset%2Fdocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newset","download_url":"https://codeload.github.com/newset/docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616681,"owners_count":19991542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T02:27:56.766Z","updated_at":"2025-03-03T05:42:36.760Z","avatar_url":"https://github.com/newset.png","language":"Shell","readme":"## 启动\n```\ndocker-compose -f datasource/docker-compose.yaml up -d\n```\n\n## 主从\n https://gist.github.com/Linuxpizi/745b1acd427f72ebe1d6406f6cc98a0c\n\n\n- traefik 网关代理\n## DNS\n\n\u003e docker-compose中使用adguard作为自定义DNS，在DNS重写页面中可以添加DNS记录\n\n设置DNS\n```\nnetworksetup -setdnsservers Wi-Fi 127.0.0.1\nnetworksetup -setdnsservers 'USB 10/100/1000 LAN' 127.0.0.1\n```\n\n## 证书\n\n安装并生成证书\n\n```\nchmod +x mkcert\n./mkcert -install\n\n./mkcert -key-file certs/key.pem -cert-file certs/cert.pem \"*.miaotai.com\" \"*.localhost\" localhost 127.0.0.1 ::1\n```\n\n## 使用\n\n桥接其他独立容器\n```\ndocker network connect docker_default [container_name] --alias [container_name]\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewset%2Fdocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewset%2Fdocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewset%2Fdocker/lists"}