Fix DNS for prowlarr and transmission

This commit is contained in:
Nicolas Meienberger 2022-05-25 15:24:13 +00:00
parent df1843667a
commit 672e582bf2
2 changed files with 4 additions and 2 deletions

View file

@ -5,7 +5,8 @@ services:
image: ghcr.io/linuxserver/prowlarr:develop
environment:
- TZ=${TZ} # Can use any env variable. List in runtipi/templates/env-sample
- DNS_IP=${DNS_IP}
dns:
- ${DNS_IP}
volumes:
- ${APP_DATA_DIR}/data/config:/config #Always start the path with ${APP_DATA_DIR}. This will put all data inside app-data/my-app/data
ports:

View file

@ -3,6 +3,8 @@ services:
transmission:
image: lscr.io/linuxserver/transmission
container_name: transmission
dns:
- ${DNS_IP}
environment:
- PUID=1000
- PGID=1000
@ -16,7 +18,6 @@ services:
volumes:
- ${APP_DATA_DIR}/data/config:/config
- ${ROOT_FOLDER_HOST}/media/torrents:/downloads
- ${ROOT_FOLDER_HOST}/media/torrents/watch:/watch
ports:
- ${APP_PORT}:9091
- 51413:51413