1
0
IaC/compose/truenas-rename.yaml
2024-12-21 00:17:04 -05:00

60 lines
1.4 KiB
YAML

# Docker compose file for truenas apps
name: "media"
# Network
networks:
apps:
external: true
name: apps
services:
adguard:
container_name: adguard
image: adguard/adguardhome
restart: unless-stopped
networks:
apps:
ipv4_address: 10.96.10.53
link_local_ips: []
# ports:
# - "53:53/tcp"
# - "53:53/udp"
# - "80:80/tcp"
# - "443:443/tcp"
volumes:
- /mnt/hdd/apps/adguard/work:/opt/adguardhome/work
- /mnt/hdd/apps/adguard/conf:/opt/adguardhome/conf
- /mnt/hdd/apps/certbot/etc:/etc/letsencrypt
- /mnt/hdd/apps/certbot/var:/var/lib/letsencrypt
certbot:
container_name: certbot
image: certbot/dns-cloudflare
restart: "no"
networks:
apps:
ipv4_address: 10.96.10.11
link_local_ips: []
command: >-
certonly --dns-cloudflare
--dns-cloudflare-credentials /etc/letsencrypt/credentials.ini
--dns-cloudflare-propagation-seconds 20
--email certbot-apps@balsillie.email
--non-interactive
--expand
--no-eff-email
--agree-tos
-d adguard.balsillie.house
-d unifi.balsillie.house
-d s3.balsillie.house
-d registry.balsillie.house
volumes:
- /mnt/hdd/apps/certbot/etc:/etc/letsencrypt
- /mnt/hdd/apps/certbot/var:/var/lib/letsencrypt
# Certbot
# Adguard
# Minio