docs: introduce docker compose

This commit is contained in:
Daniel Ding
2024-01-06 17:44:00 +08:00
parent 403cdbfd27
commit 9c03e38f51
5 changed files with 73 additions and 12 deletions

View File

@@ -82,15 +82,3 @@ services:
depends_on:
- confd
- switch
dns:
restart: always
image: "adguard/dnsproxy:latest.x86_64"
# privileged: true
# network_mode: "host"
network_mode: service:confd
entrypoint: ["/opt/dnsproxy/dnsproxy", "--config-path=/opt/dnsproxy/config.yaml"]
volumes:
- /opt/openlan/etc/dnsproxy/config.yaml:/opt/dnsproxy/config.yaml
depends_on:
- confd
- switch