Advertisement
SpiderLordCoder1st

Untitled

May 22nd, 2024
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.26 KB | None | 0 0
  1. #nginx-proxy_default
  2. version: "3"
  3.  
  4. networks:
  5. # pdns:
  6. acmenet:
  7. driver: bridge
  8. ipam:
  9. driver: default
  10. config:
  11. - subnet: 10.30.50.0/24
  12. pdns-network:
  13. ipam:
  14. # driver: bridge
  15. config:
  16. - subnet: 172.31.53.0/24
  17. nginx-proxy_default:
  18. driver: bridge
  19.  
  20. services:
  21. # pihole:
  22. # profiles: ["all"]
  23. # container_name: pihole
  24. # image: pihole/pihole:latest
  25. # # For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
  26. # ports:
  27. # - "53:53/tcp"
  28. # - "53:53/udp"
  29. # - "67:67/udp"
  30. # - "8082:80/tcp"
  31. # environment:
  32. # TZ: 'America/Chicago'
  33. # # WEBPASSWORD: 'set a secure password here or it will be random'
  34. # # Volumes store your data between container upgrades
  35. # volumes:
  36. # - './etc-pihole:/etc/pihole'
  37. # - './etc-dnsmasq.d:/etc/dnsmasq.d'
  38. # # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
  39. # cap_add:
  40. # - NET_ADMIN
  41.  
  42.  
  43. # shaarli:
  44. # image: ghcr.io/shaarli/shaarli:latest
  45. #build: ./
  46. # ports: [28010:80]
  47. # profiles: ["all", "non-nextcloud"]
  48. #networks:
  49. # - http-proxy
  50. # environment:
  51. # - PUID=1000 # Replace with the UID of the user on the host machine
  52. # - PGID=1000 # Replace with the GID of the group on the host machine
  53. # volumes:
  54. # - shaarli-cache:/var/www/shaarli/cache
  55. # - shaarli-data:/var/www/shaarli/data
  56. # labels:
  57. # traefik.domain: "${SHAARLI_VIRTUAL_HOST}"
  58. # traefik.backend: shaarli
  59. # traefik.frontend.rule: "Host:${SHAARLI_VIRTUAL_HOST}"
  60. #~/website/svelte-docker
  61. # svelte-app:
  62. # build:
  63. # context: ~/website/svelte-docker
  64. # dockerfile: Dockerfile
  65. # ports:
  66. # - '5000:5000'
  67. # svelte-app:
  68. # profiles: ["all"]
  69. # build: ./website/test-vite-svelte-docker/web-app
  70. # command: npm run dev --host # just build the web app, comment out for dev server
  71. # ports:
  72. # - 5000:3000
  73. # volumes:
  74. # - ./website/test-vite-svelte-docker/web-app/dist:/app/dist
  75. #svelte-app:
  76. # profiles: ["all"]
  77. # build: ./website/test-vite-svelte-docker/web-app
  78. # command: npm run dev --host # just build the web app, comment out for dev server
  79. # ports:
  80. # - 5000:5000
  81. # volumes:
  82. # - ./website/test-vite-svelte-docker/web-app/dist:/app/dist
  83. #pdns-network
  84. pebble:
  85. profiles: ["all"]
  86. #network_mode: host
  87. image: ghcr.io/letsencrypt/pebble:latest
  88. command: -config test/config/pebble-config.json -strict -dnsserver 10.30.50.3:8053
  89. ports:
  90. - 14000:14000 # HTTPS ACME API
  91. - 15000:15000 # HTTPS Management API
  92. networks:
  93. pdns-network:
  94. acmenet:
  95. ipv4_address: 10.30.50.2
  96. challtestsrv:
  97. profiles: ["all"]
  98. image: ghcr.io/letsencrypt/pebble-challtestsrv:latest
  99. command: -defaultIPv6 "" -defaultIPv4 10.30.50.3
  100. ports:
  101. - 8055:8055 # HTTP Management API
  102. networks:
  103. pdns-network:
  104. acmenet:
  105. ipv4_address: 10.30.50.3
  106. # step-ca:
  107. # profiles: ["all"]
  108. # image: smallstep/step-ca
  109. # container_name: step-ca
  110. # ports:
  111. # - "9000:9000"
  112. # - "8444:8443"
  113. # volumes:
  114. # - ./step:/home/step
  115. # environment:
  116. # - STEPPATH=/home/step
  117. # command: ./init_step_ca.sh
  118. ## sh -c "step ca init --name='My CA' --dns='spidershomelab.net' \
  119. ## --address=':9000' --http-listen=':9000' --provisioner='admin' \
  120. ## --password-file=/home/step/password.txt && \
  121. ## step-ca $(cat /home/step/password.txt)"
  122. home-app:
  123. profiles: ["all"]
  124. build: ./website/test-vite-svelte-docker/web-app
  125. command: npm run build # just build the web app, comment out for dev server
  126. ports:
  127. - 9080:3000
  128. volumes:
  129. - ./website/test-vite-svelte-docker/web-app/dist:/app/dist
  130.  
  131. # this is just if you want to serve the staic site
  132. nginx:
  133. profiles: ["all"]
  134. image: nginx
  135. ports:
  136. - 9090:80
  137. volumes:
  138. - ./website/test-vite-svelte-docker/web-app/dist:/usr/share/nginx/html # mount the web app's build output
  139. depends_on:
  140. - home-app # web-app must be build before server can serve it
  141.  
  142. nextcloud:
  143. profiles: ["all"]
  144. user: 1000:1000
  145. image: nextcloud
  146. container_name: nextcloud
  147. restart: always
  148. ports:
  149. - 10000:80
  150. volumes:
  151. - nextcloud:/var/www/html
  152. - /home/spiderunderurbed/nextcloud-config:/var/www/html/config
  153. networks:
  154. - nginx-proxy_default
  155.  
  156. jellyfin:
  157. profiles: ["all"]
  158. image: bitwrk/jellyfin-rffmpeg:latest
  159. container_name: jellyfin
  160. user: 1000:1000
  161. command: /bin/bash chmod +x /start.sh && ./start.sh
  162. volumes:
  163. - ./jellyfin/start.sh:/start.sh
  164. - ./jellyfin/config:/config
  165. - ./jellyfin/cache:/cache
  166. - ./jellyfin/media:/media
  167. - ./jellyfin/media2:/media2:ro
  168. - ./jellyfin/rffmpeg.yml:/etc/rffmpeg/rffmpeg.yml
  169. - ./.ssh:/config/.ssh:ro
  170. restart: 'unless-stopped'
  171. ports:
  172. - 8096:8096
  173.  
  174. nginx-proxy-manager:
  175. profiles: ["all"]
  176. # profiles: ["all"]
  177. image: 'jc21/nginx-proxy-manager:latest'
  178. restart: unless-stopped
  179. ports:
  180. - '80:80'
  181. - '443:443'
  182. - '81:81'
  183. networks:
  184. - nginx-proxy_default
  185. volumes:
  186. - ./data:/data
  187. - ./letsencrypt:/etc/letsencrypt
  188.  
  189. cowrie:
  190. profiles: ["all"]
  191. image: cowrie/cowrie
  192. volumes:
  193. - ./prickly-pete/var/cowrie/log:/cowrie/cowrie-git/var/log/cowrie
  194. - ./prickly-pete/src/configs/cowrie.cfg:/cowrie/cowrie-git/etc/cowrie.cfg
  195. - ./prickly-pete/userdb.txt:/cowrie/cowrie-git/etc/userdb.txt
  196. ports:
  197. - "22:2222"
  198.  
  199. vaultwarden:
  200. profiles: ["all"]
  201. container_name: vaultwarden
  202. image: vaultwarden/server:latest
  203. restart: unless-stopped
  204. volumes:
  205. - ./data/:/data/
  206. ports:
  207. - 8000:80
  208. networks:
  209. - nginx-proxy_default
  210.  
  211. gitea:
  212. profiles: ["all"]
  213. image: gitea/gitea:latest
  214. container_name: gitea
  215. environment:
  216. - USER_UID=1000
  217. - USER_GID=1000
  218. restart: always
  219. volumes:
  220. - ./gitea:/data
  221. - /etc/timezone:/etc/timezone:ro
  222. - /etc/localtime:/etc/localtime:ro
  223. ports:
  224. - "3000:3000"
  225. - "222:22"
  226.  
  227. homarr:
  228. profiles: ["all"]
  229. container_name: homarr
  230. image: ghcr.io/ajnart/homarr:latest
  231. restart: unless-stopped
  232. volumes:
  233. - /var/run/docker.sock:/var/run/docker.sock
  234. - ./homarr/configs:/app/data/configs
  235. - ./homarr/icons:/app/public/icons
  236. - ./homarr/data:/data
  237. ports:
  238. - '7575:7575'
  239. networks:
  240. - nginx-proxy_default
  241. db:
  242. image: mariadb:latest
  243. profiles: ["all"]
  244. networks:
  245. pdns-network:
  246. environment:
  247. - MYSQL_ALLOW_EMPTY_PASSWORD=yes
  248. - MYSQL_DATABASE=powerdnsadmin
  249. - MYSQL_USER=pdns
  250. - MYSQL_PASSWORD=mypdns
  251. ports:
  252. - 3306:3306
  253. restart: always
  254. volumes:
  255. - /pda-mysql:/var/lib/mysql
  256. pdns:
  257. #build: pdns
  258. image: pschiffe/pdns-mysql
  259. hostname: pdns
  260. profiles: ["all"]
  261. # domainname: computingforgeeks.com
  262. networks:
  263. pdns-network:
  264. ipv4_address: 172.31.53.6
  265. volumes:
  266. - /home/spiderunderurbed/bind/bind.conf:/bind.conf
  267. - /home/spiderunderurbed/bind/spidershomelab.net.zone:/var/named/spidershomelab.net.zone
  268. restart: always
  269. depends_on:
  270. - db
  271. links:
  272. - "db:mysql"
  273. ports:
  274. - "127.0.0.1:5300:53"
  275. - "127.0.0.1:5300:53/udp"
  276. - "127.0.0.1:8081:8081"
  277. # ports:
  278. # - "5300:53"
  279. # - "5300:53/udp"
  280. # - "8081:8081"
  281. environment:
  282. - PDNS_dnsupdate=true
  283. # - PDNS_allow-dnsupdate-from=0.0.0.0#
  284. # - PDNS_dnsupdate=true
  285. - PDNS_allow_dnsupdate_from=0.0.0.0,10.30.50.2,10.30.50.3
  286. - PDNS_gmysql_host=db
  287. - PDNS_gmysql_port=3306
  288. - PDNS_gmysql_user=pdns
  289. - PDNS_gmysql_dbname=powerdnsadmin
  290. - PDNS_gmysql_password=mypdns
  291. - PDNS_master=yes
  292. - PDNS_api=yes
  293. - PDNS_api_key=secret
  294. - PDNSCONF_API_KEY=secret
  295. - PDNS_webserver=yes
  296. - PDNS_webserver-allow-from=0.0.0.0,127.0.0.1,10.0.0.0/8,172.0.0.0/8,192.0.0.0/24,192.168.32.8/32,192.168.0.0/16
  297. - PDNS_webserver_address=0.0.0.0
  298. - PDNS_webserver_password=secret2
  299. - PDNS_version_string=anonymous
  300. - PDNS_default_ttl=1500
  301. - PDNS_allow_notify_from=0.0.0.0
  302. - PDNS_allow_axfr_ips=127.0.0.1
  303. - PDNS_launch=bind,gmysql
  304. - PDNS_bind-config=/bind.conf
  305. #pschiffe/pdns
  306. pdns-recursor:
  307. image: pschiffe/pdns-recursor:latest
  308. profiles: ["all"]
  309. container_name: pdns-recursor
  310. networks:
  311. pdns-network:
  312. # ipv4_address: 172.31.53.5
  313. # networks:
  314. # - pdns-network
  315. environment:
  316. # FORWARD ZONE
  317. - PDNS_forward-zones-file=/zonefiles.conf
  318. # - PDNS_forward_zones="spidershomelab.net=192.168.68.77:5300"
  319. # - PDNS_forward_zones_recurse=".=8.8.8.8:53"
  320. # - PDNS_forward_zones_recurse="spidershomelab.net=127.0.0.1:5300,.=8.8.8.8:53"
  321. # - PDNS_forward_zones="spidershomelab.net=0.0.0.0:5300"
  322. # - PDNS_forward_zones_recurse=".=8.8.8.8"
  323. # OPTION
  324. # - PDNS_dnsupdate=true
  325. # - PDNS_allow_dnsupdate_from=0.0.0.0,10.30.50.2,10.30.50.3
  326. - PDNS_local_address=0.0.0.0
  327. - PDNS_local_port=53
  328. - PDNS_allow_from=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
  329. - PDNS_dnssec=off
  330. - PDNS_aggressive_nsec_cache_size=0
  331. # LOGGING
  332. - PDNS_logging_facility=0
  333. - PDNS_quiet=no
  334. - PDNS_loglevel=7
  335. - PDNS_trace=yes
  336. - PDNS_log_common-errors=yes
  337. volumes:
  338. - /etc/localtime:/etc/localtime:ro
  339. - /home/spiderunderurbed/zonesfiles.conf:/zonefiles.conf
  340. ports:
  341. - 53:53
  342. - 53:53/udp
  343. restart: unless-stopped
  344. #PDNS_forward_zones: ".=8.8.8.8"
  345. #PDNS_forward_zones_recurse: ".=8.8.8.8"
  346. #- PDNS_forward_zones=.=8.8.8.8,100.100.100.100
  347. #-
  348. # - PDNS_forward-zones=*=8.8.8.8;8.8.4.4
  349. # - /etc/bind/bind.conf:/bind.conf#
  350. # - /etc/bind/spidershomelab.local.zone:/var/named/spidershomelab.local.zone
  351. # - ./pdns-docker-entrypoint.sh:/docker-entrypoint.sh
  352. # # - ./mysql-schema.sql:/usr/share/doc/pdns/4.3.0_to_4.7.0_schema.mysql.sql
  353. # environment:
  354. # - PDNS_launch=bind,gmysql
  355. # - PDNS_bind-config=/bind.conf
  356.  
  357. web_app:
  358. image: powerdnsadmin/pda-legacy:latest
  359. container_name: powerdns_admin
  360. profiles: ["all"]
  361. networks:
  362. pdns-network:
  363. # ipv4_address: 172.31.53.10
  364. ports:
  365. - "8080:80"
  366. depends_on:
  367. - db
  368. restart: always
  369. links:
  370. - db:mysql
  371. - pdns:pdns
  372. logging:
  373. driver: json-file
  374. options:
  375. max-size: 50m
  376. environment:
  377. - SQLALCHEMY_DATABASE_URI=mysql://pdns:mypdns@db/powerdnsadmin
  378. - GUNICORN_TIMEOUT=60
  379. - GUNICORN_WORKERS=2
  380. - GUNICORN_LOGLEVEL=DEBUG
  381. #- forward_zones=*=8.8.8.8;8.8.4.4
  382. # db:
  383. # profiles: ["all"]
  384. # image: mariadb:latest
  385. # environment:
  386. # - MYSQL_ALLOW_EMPTY_PASSWORD=yes
  387. # - MYSQL_DATABASE=powerdnsadmin
  388. # - MYSQL_USER=pdns
  389. # - MYSQL_PASSWORD=mypdns
  390. # ports:
  391. # - 3306:3306
  392. # restart: always
  393. # networks:
  394. # - pdns
  395. # volumes:
  396. # - /pda-mysql:/var/lib/mysql
  397. # - ./mysql-schema.sql:/docker-entrypoint-initdb.d/init.sql
  398. # pdns:
  399. # profiles: ["all"]
  400. # image: pdns-mysql-working:latest
  401. # hostname: pdns
  402. # domainname: computingforgeeks.com
  403. # restart: always
  404. # depends_on:
  405. # - db
  406. # links:
  407. # - "db:mysql"
  408. # ports:
  409. # - "54:53"
  410. # - "54:53/udp"
  411. # - "8081:8081"
  412. # volumes:
  413. # - /etc/bind/bind.conf:/bind.conf#
  414. # - /etc/bind/spidershomelab.local.zone:/var/named/spidershomelab.local.zone
  415. # - ./pdns-docker-entrypoint.sh:/docker-entrypoint.sh
  416. # # - ./mysql-schema.sql:/usr/share/doc/pdns/4.3.0_to_4.7.0_schema.mysql.sql
  417. # environment:
  418. # - PDNS_launch=bind,gmysql
  419. # - PDNS_bind-config=/bind.conf
  420. # - PDNS_gmysql_host=db
  421. # - PDNS_gmysql_port=3306
  422. # - PDNS_gmysql_user=pdns
  423. # - PDNS_gmysql_dbname=powerdnsadmin
  424. # - PDNS_gmysql_password=mypdns
  425. # - PDNS_master=yes
  426. # - PDNS_api=yes
  427. # - PDNS_api_key=VW8weXhMSHhOdGV6ZFU2
  428. # - PDNSCONF_API_KEY=VW8weXhMSHhOdGV6ZFU2
  429. # - PDNS_webserver=yes
  430. # - PDNS_webserver-allow-from=127.0.0.1,10.0.0.0/8,172.0.0.0/8,192.0.0.0/24
  431. # - PDNS_webserver_address=0.0.0.0
  432. # - PDNS_webserver_password=secret2
  433. # - PDNS_version_string=anonymous
  434. # - PDNS_default_ttl=1500
  435. # - PDNS_allow_notify_from=0.0.0.0
  436. # - PDNS_allow_axfr_ips=127.0.0.1
  437. # networks:
  438. # - pdns
  439. # web_app:
  440. # profiles: ["all"]
  441. # image: powerdnsadmin/pda-legacy:latest
  442. # container_name: powerdns_admin
  443. # ports:
  444. # - "8082:80"
  445. # depends_on:
  446. # - db
  447. # restart: always
  448. # links:
  449. # - db:mysql
  450. # - pdns:pdns
  451. # logging:
  452. # driver: json-file
  453. # options:
  454. # max-size: 50m
  455. # environment:
  456. # - SQLALCHEMY_DATABASE_URI=mysql://pdns:mypdns@db/powerdnsadmin
  457. # - GUNICORN_TIMEOUT=60
  458. # - GUNICORN_WORKERS=2
  459. # - GUNICORN_LOGLEVEL=DEBUG
  460. # networks:
  461. # - pdns
  462.  
  463.  
  464. volumes:
  465. nextcloud:
  466. # shaarli-cache:
  467. # shaarli-data:
  468.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement