adguardhome

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3.8"
services:

  adguardhome:
    container_name: adguardhome
    restart: unless-stopped
    volumes:
      - ./data/own/workdir:/opt/adguardhome/work
      - ./data/own/confdir:/opt/adguardhome/conf
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "67:67/udp"
      - "68:68/udp"
      - "80:80/tcp"
      - "443:443/tcp"
      - "443:443/udp"
      - "3000:3000/tcp"
      - "853:853/tcp"
      - "784:784/udp"
      - "853:853/udp"
      - "8853:8853/udp"
      - "5443:5443/tcp"
      - "5443:5443/udp"
    image: adguard/adguardhome
    
networks:
  default:
    driver: bridge
    ipam:
      driver: default
      # 解除下面的注释可以设置网段用于nginx等容器固定容器IP
      #config:
      #  - subnet: 10.0.0.0/24
Licensed under CC BY-NC-SA 4.0