文档类

techref

docker run -d --restart=always -p 8092:3000 wcjiang/reference:latest

挂载 CIFS 共享

version: "3.8"

services:
  web:
    build:
      dockerfile: ./Dockerfile
    ports:
      - "80:80"
    environment:
      - FlexDebug=on
    volumes:
      - data:/var/www/example

volumes:
  data:
    driver: local
    driver_opts:
      type: cifs
      device: "//192.168.1.17/share"
      o: "username=XXX,password=YYY,uid=1000,gid=1000"
    o: "username=${CIFS_USERNAME?err},password=${CIFS_PASSWORD?err},iocharset=utf8,sec=ntlmssp,vers=3.0,uid=33,gid=33,file_mode=0770,dir_mode=0770"

工具类

samba

docker run -p 139:139 -p 445:445  -v /downloads/qbittorrent/downloads:/shared \
--name samba -d --restart=always dperson/samba -p -u "down;password;1000;down;1000" \
-s "Downloads Share;/shared;yes;yes;no;down;down;down;Docker.test Host"

kuma

docker run -d --restart=always -p 3001:3001 -v /data/kuma/:/app/data \
--name uptime-kuma louislam/uptime-kuma:latest

dev-tools

docker run -d --name it-tools --restart unless-stopped -p 8093:80 \
corentinth/it-tools:latest

tools-ip

docker run -d --restart unless-stopped  -p 9000:18966   -e BING_MAP_API_KEY="XXXXXXX"   \
-e ALLOWED_DOMAINS="myip.waringid.me"  \
 -e IPINFO_API_TOKEN="XXXXX"   --name myip   jason5ng32/myip:latest

邮件

docker run -p 25:25 -p 80:80 -p 443:443 -p 110:110 -p 465:465 \
-v $(pwd)/config:/work/config ghcr.io/jinnrry/pmail:latest


  • 无标签
写评论...