feat: #15 Use Docker Compose profiles

This commit is contained in:
Adrien Poupa
2023-11-10 18:53:29 -05:00
parent 118159e2a1
commit 9365f3e829
5 changed files with 29 additions and 13 deletions

View File

@@ -12,6 +12,8 @@ services:
- NET_ADMIN
network_mode: host
mem_reservation: 6m
profiles:
- adguardhome
adguardhome:
image: adguard/adguardhome
@@ -48,6 +50,8 @@ services:
- homepage.widget.url=https://${ADGUARD_HOSTNAME}
- homepage.widget.username=${ADGUARD_USERNAME}
- homepage.widget.password=${ADGUARD_PASSWORD}
profiles:
- adguardhome
traefik-certs-dumper:
image: ldez/traefik-certs-dumper
@@ -65,6 +69,8 @@ services:
volumes:
- ./letsencrypt:/data
- ./adguardhome/certs:/certs
profiles:
- adguardhome
networks:
adguardhome: