I recently moved from my old OVM 5.6.26-1 NAS running >10 years now to a new more powerful machine. Since I can run both systems parallel, moving data and configurations is quite easy. Running Docker+Portainer on the old machine, I have a little struggle with certein settings through Compose plugin:
1. I set up a custum bridged network within Compose, so that the containers can communicate with eachother (nextcould+swag for example). How do I set up the usage of the network within the compose files? My bridge is 'docker-net' with IP range 192.168.100.0
I tried to use this
networks:
docker-net:
ipv4_address: 192.168.100.2
networks:
docker-net:
external: true
within the compose files. Any suggestions how to do it right?
2. With Portainer in the old machine, I used the CLI option to work within the containers, for example to edit their configurations. How do I do this with Compose? My idea was to edit the configuration files from the host within the volumes. Is there a more convientient way to do it?
I set up Docker with user docker:docker, all running on the SSD-pool.
My machine:
HPE ProLiant Microserver Gen10 Plus - Xeon E-2224 - 64 GB ECC - QM2-2P10G1TB - 2x WD Red SN700 2TB zfs mirror - 4x Toshiba MG10ACA 20 TB zfs Z-R2
Thank you in advance for your support and suggestions!