KeithW
Dabbler
- Joined
- Mar 3, 2019
- Messages
- 14
Hi All,
So I have a Proxmox Server that I have been running for 5 years or so but I no longer use proxmox itself as I have moved everything over to docker with portainer. I really like the direction TrueNAS has gone with most things and would like to use it as my docker host and fileserver but I dont really understand the interface for adding docker containers.
I use Cloudflare and DNS-O-Matic and ZeroSSL with a Swag container for reverse proxy and various other containers for my media server apps - OpenVPN, Radarr, Sonarr, Sabnzbd, Plex and Jellyfin (testing as a plex replacement) and next I want to set up Nextcloud. My current Docker CLI for the various containers are as follows
ETC
Is there a guide on how to convert a docker CLI or even a docker compose file to the freenas Launch Docker Image interface options or better still is there a way to simply use or import a CLI or docker compose file without having to go through Launch Docker Image form? Am I better of finding another solution? I feel like using FreeNAS Scale for Docker containers is much harder than it needs to be but maybe I am missing something.
If you were me and wanted to achieve the above with TrueNAS Scale how would you do it?
So I have a Proxmox Server that I have been running for 5 years or so but I no longer use proxmox itself as I have moved everything over to docker with portainer. I really like the direction TrueNAS has gone with most things and would like to use it as my docker host and fileserver but I dont really understand the interface for adding docker containers.
I use Cloudflare and DNS-O-Matic and ZeroSSL with a Swag container for reverse proxy and various other containers for my media server apps - OpenVPN, Radarr, Sonarr, Sabnzbd, Plex and Jellyfin (testing as a plex replacement) and next I want to set up Nextcloud. My current Docker CLI for the various containers are as follows
Code:
docker create \ --name=swag \ --cap-add=NET_ADMIN \ --net=lsio \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Europe/London \ -e URL=mytld.com \ -e SUBDOMAINS=wildcard \ -e VALIDATION=dns \ -e CERTPROVIDER=zerossl \ -e DNSPLUGIN=cloudflare \ -p 443:443 \ -e EMAIL=my.email.address@mail.com \ -p 80:80 \ -v /mnt/storage/share/mediaserver/appdata/swag:/config \ --restart unless-stopped \ linuxserver/swag
Code:
docker run -d \ --cap-add=NET_ADMIN \ --device=/dev/net/tun \ --name=openvpn \ --dns 1.1.1.1 \ --dns 1.0.0.1 \ -e 'HOST_IP=192.168.1.50' \ -e 'VPN_PROVIDER=ipvanish' \ -e 'VPN_USERNAME=my.email.address@mail.com' \ -e 'VPN_PASSWORD=MyPassword' \ -e 'VPN_COUNTRY=NL ' \ -v /mnt/storage/share/mediaserver/vpn/cache:/cache/ \ rundqvist/openvpn
Code:
docker run -d \ --name=sabnzbd \ --net container:openvpn \ --restart unless-stopped \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Europe/London \ -p 8080:8080 \ -v /mnt/storage/share/mediaserver/appdata/sabnzbd:/config \ -v /mnt/storage/share/mediaserver/downloads:/data/downloads lscr.io/linuxserver/sabnzbd:latest
Code:
docker run -d \ --name=radarr \ --net container:openvpn \ -e PUID=1000 \ -e PGID=1000 \ -e TZ=Europe/London \ -p 7878:7878 \ -v /mnt/storage/share/mediaserver/appdata/radarr:/config \ -v /mnt/storage/share/mediaserver:/data \ --restart unless-stopped \ lscr.io/linuxserver/radarr:latest
ETC
Is there a guide on how to convert a docker CLI or even a docker compose file to the freenas Launch Docker Image interface options or better still is there a way to simply use or import a CLI or docker compose file without having to go through Launch Docker Image form? Am I better of finding another solution? I feel like using FreeNAS Scale for Docker containers is much harder than it needs to be but maybe I am missing something.
If you were me and wanted to achieve the above with TrueNAS Scale how would you do it?