tool.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. [base]
  2. path = {base}
  3. [zeppelin]
  4. image = zeppelin_simple
  5. port = 10000:8080
  6. volumes = {container}conf/java/zeppelin:/usr/local/zeppelin/conf
  7. command = zeppelin
  8. [apidoc]
  9. volumes = {container}src/apidoc/input:/root/input,{container}web/apidoc:/root/output,{container}src/apidoc/config:/root/config
  10. call = apidoc
  11. #使用dever call tool-apidoc input=demo&out=output来运行,然后可以在宿主机里使用apidoc命令
  12. param = -i /root/input/{$input:demo}/ -o /root/{$out:output} -c /root/config
  13. alias = apidoc
  14. [grafana]
  15. port = 3001:3000
  16. [pan]
  17. port = 9030:80,6800:6800
  18. ;superuser
  19. ;dweb
  20. volumes = {container}share/data/pan:/var/www/html/system/data/default_home_folder
  21. ;国产网盘
  22. [kiftd]
  23. port = 9000:9000
  24. [nextcloud]
  25. port = 8030:8888
  26. environment = UID=1000,GID=1000,UPLOAD_MAX_SIZE=10G,APC_SHM_SIZE=128M,OPCACHE_MEM_SIZE=128,CRON_PERIOD=15m,TZ=Etc/UTC,DOMAIN={$domain:pan.c-mao.com},DB_TYPE=mysql,DB_NAME=nextcloud,DB_USER=root,DB_PASSWORD=123456,DB_HOST=db.5dev.cn:3309
  27. volumes = {container}share/data/nextcloud/data:/docker/nextcloud/data,{container}share/data/nextcloud/config:/docker/nextcloud/config,{container}share/data/nextcloud/apps2:/docker/nextcloud/apps2,{container}share/data/nextcloud/themes:/docker/nextcloud/themes
  28. [nfs]
  29. port = 3001:3000
  30. ;文件共享与管理者
  31. [file_manager]
  32. image = btsync
  33. volumes = {container}share/sync_server:/data
  34. ;获取超级管理权限
  35. ;super = true
  36. ;文件发现 dm run daemon-worker input=A4IDCT5EADNLSWEZ3V5C3ONPGBBGEUDJD
  37. [file_worker]
  38. image = btsync
  39. command = {$input:A4IDCT5EADNLSWEZ3V5C3ONPGBBGEUDJD}
  40. volumes = {container}share/sync_client:/data
  41. ;ftp
  42. [ftp]
  43. image = vsftpd
  44. port = 20:20,21:21,21100-21110:21100-21110
  45. volumes = {container}web/files:/home/vsftpd
  46. environment = FTP_USER=ftpadmin,FTP_PASS=123456
  47. [ffmpeg]
  48. image = ffmpeg
  49. volumes = {container}web/mc/data:/tmp
  50. call = ffmpeg
  51. param = -i /tmp/001.avi -vcodec libx264 -threads 2 -preset fast -crf 28 -y -vf "scale=1920:-1" -acodec libmp3lame -ab 128k /tmp/out.mp4
  52. alias = ffmpeg
  53. ;walle
  54. [walle]
  55. image = walle
  56. port = 8080:80,5000:5000