Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/newset/docker
https://github.com/newset/docker
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/newset/docker
- Owner: newset
- Created: 2019-05-10T04:07:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T02:38:11.000Z (3 months ago)
- Last Synced: 2024-08-10T17:33:29.835Z (3 months ago)
- Language: Shell
- Size: 2.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 启动
```
docker-compose -f datasource/docker-compose.yaml up -d
```## 主从
https://gist.github.com/Linuxpizi/745b1acd427f72ebe1d6406f6cc98a0c- traefik 网关代理
## DNS> docker-compose中使用adguard作为自定义DNS,在DNS重写页面中可以添加DNS记录
设置DNS
```
networksetup -setdnsservers Wi-Fi 127.0.0.1
networksetup -setdnsservers 'USB 10/100/1000 LAN' 127.0.0.1
```## 证书
安装并生成证书
```
chmod +x mkcert
./mkcert -install./mkcert -key-file certs/key.pem -cert-file certs/cert.pem "*.miaotai.com" "*.localhost" localhost 127.0.0.1 ::1
```## 使用
桥接其他独立容器
```
docker network connect docker_default [container_name] --alias [container_name]
```