warchildstory.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. ---
  2. container_user: containers
  3. container_uid: 1001
  4. container_group: "{{ container_user }}"
  5. container_gid: "{{ container_uid }}"
  6. backups: containers
  7. global_env_vars:
  8. - PUID={{ container_uid }}
  9. - PGID={{ container_gid }}
  10. - TZ=America/Los_Angeles
  11. firewall_ports:
  12. - 80/tcp
  13. - 443/tcp
  14. container_networks:
  15. - name: warchildstory
  16. driver: bridge
  17. subnet: 172.28.5.0/24
  18. ip_range: 172.28.5.0/24
  19. gateway: 172.28.5.1
  20. containers:
  21. - name: swag
  22. active: true
  23. image: linuxserver/swag
  24. cap_add:
  25. - NET_ADMIN # required for fail2ban to modify iptables
  26. ports:
  27. - 80:80
  28. - 443:443
  29. volumes:
  30. - /opt/swag:/config
  31. restart: unless-stopped
  32. include_global_env_vars: true
  33. environment:
  34. - URL=warchildstory.com
  35. - VALIDATION=http
  36. - SUBDOMAINS=www,grocy,list,ntfy,
  37. - EMAIL=certbot@blainestory.com
  38. mem_limit: 250m
  39. networks:
  40. - warchildstory
  41. - name: grocy
  42. active: true
  43. image: linuxserver/grocy
  44. include_global_env_vars: true
  45. volumes:
  46. - /opt/grocy:/config
  47. restart: unless-stopped
  48. networks:
  49. - warchildstory
  50. mem_limit: 500m
  51. - name: list
  52. active: true
  53. image: linuxserver/nginx
  54. include_global_env_vars: true
  55. volumes:
  56. - /opt/list:/config
  57. restart: unless-stopped
  58. networks:
  59. - warchildstory
  60. mem_limit: 250m
  61. - name: urlwatch
  62. active: true
  63. image: vimagick/urlwatch
  64. volumes:
  65. - /opt/urlwatch:/root/.urlwatch
  66. restart: unless-stopped
  67. mem_limit: 250m
  68. - name: ntfy
  69. active: true
  70. image: binwiederhier/ntfy
  71. command:
  72. - serve
  73. environment:
  74. - NTFY_BASE_URL=https://ntfy.warchildstory.com
  75. - NTFY_UPSTREAM_BASE_URL=https://ntfy.sh
  76. - NTFY_BEHIND_PROXY=true
  77. - NTFY_WEB_ROOT=home
  78. networks:
  79. - warchildstory
  80. mem_limit: 100m