i have exported my portainer settings, hopefully this is close to what you are after:
Networks:
"Name": "Web",
"Id": "3f3ef220b41239538402e5800697571fc163785be682672ecb75e5429b3a88d0",
"Created": "2022-09-24T11:08:35.571775275+01:00",
"Scope": "local",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Driver": "default",
"Options": null,
"Config": [
{
"Subnet": "172.31.255.255/27",
"IPRange": "172.31.255.255/27",
"Gateway": "172.31.255.254"
}
]
},
"Internal": false,
"Attachable": false,
"Ingress": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Options": {},
"Labels": {}
"Containers": [
{
"Id": "edf529549f97e8b7ef400adf42c9d5f46c406aa066275fe2dd07edeef1f6d9e8",
"Names": [
"/mdphpma"
],
"Image": "docker.io/mariadb:latest",
"ImageID": "sha256:14f1097913ecb422c61f9b35604339c1ac74394e7df7f84f765917b018605b5f",
"Command": "docker-entrypoint.sh mariadbd",
"Created": 1665090921,
"Ports": [
{
"IP": "0.0.0.0",
"PrivatePort": 3306,
"PublicPort": 3306,
"Type": "tcp"
}
],
"Labels": {},
"State": "running",
"Status": "Up About an hour",
"HostConfig": {
"NetworkMode": "Web"
},
"NetworkSettings": {
"Networks": {
"Web": {
"IPAMConfig": {
"IPv4Address": "172.31.255.229"
},
"Links": null,
"Aliases": null,
"NetworkID": "3f3ef220b41239538402e5800697571fc163785be682672ecb75e5429b3a88d0",
"EndpointID": "ed822f07097df23133cf3dfb388f17fd82b12e674485be1b3e581f1244eadbe4",
"Gateway": "172.31.255.254",
"IPAddress": "172.31.255.229",
"IPPrefixLen": 27,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:1f:ff:e5",
"DriverOpts": null
}
}
},
"Mounts": [
{
"Type": "volume",
"Name": "md_phpma",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/md_phpma/_data",
"Destination": "/var/lib/mysql",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
]
},
{
"Id": "421f0485585bf564d8d1e454436ccaa39d660b97cf585e20681ac43da2a449f7",
"Names": [
"/phpmyadmin"
],
"Image": "docker.io/phpmyadmin:fpm",
"ImageID": "sha256:43d0ff92a6b0bf8def35503c9d386052061ee98b5783150304b17b0825e6e916",
"Command": "/docker-entrypoint.sh php-fpm",
"Created": 1665090906,
"Ports": [
{
"IP": "0.0.0.0",
"PrivatePort": 80,
"PublicPort": 8081,
"Type": "tcp"
},
{
"PrivatePort": 9000,
"Type": "tcp"
}
],
"Labels": {
"org.opencontainers.image.authors": "The phpMyAdmin Team \u003cdevelopers@phpmyadmin.net\u003e",
"org.opencontainers.image.description": "Run phpMyAdmin with Alpine, Apache and PHP FPM.",
"org.opencontainers.image.documentation": "https://github.com/phpmyadmin/docker#readme",
"org.opencontainers.image.licenses": "GPL-2.0-only",
"org.opencontainers.image.source": "https://github.com/phpmyadmin/docker.git",
"org.opencontainers.image.title": "Official phpMyAdmin Docker image",
"org.opencontainers.image.url": "https://github.com/phpmyadmin/docker#readme",
"org.opencontainers.image.vendor": "phpMyAdmin",
"org.opencontainers.image.version": "5.2.0"
},
"State": "running",
"Status": "Up About an hour",
"HostConfig": {
"NetworkMode": "Web"
},
"NetworkSettings": {
"Networks": {
"Web": {
"IPAMConfig": {
"IPv4Address": "172.31.255.228"
},
"Links": null,
"Aliases": null,
"NetworkID": "3f3ef220b41239538402e5800697571fc163785be682672ecb75e5429b3a88d0",
"EndpointID": "40ad16bb6288e9eb55c6ecc751e8b41ad7ceb65da7b06feeb53091e58e7f95b6",
"Gateway": "172.31.255.254",
"IPAddress": "172.31.255.228",
"IPPrefixLen": 27,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:1f:ff:e4",
"DriverOpts": null
}
}
},
"Mounts": [
{
"Type": "volume",
"Name": "phpma_etc",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/phpma_etc/_data",
"Destination": "/etc/phpmyadmin",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "phpma_html",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/phpma_html/_data",
"Destination": "/var/www/html",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
]
},
{
"Id": "21a9c425e6893d62fb8eebfb8ccaeb8f6cb5d1aa14cc79816f890bd3f528e432",
"Names": [
"/phpfpm"
],
"Image": "docker.io/php:fpm",
"ImageID": "sha256:fa1b5d320fa7279567b317dbd47023ff284b07617e3a14cb4aef2420bb644c45",
"Command": "docker-php-entrypoint php-fpm",
"Created": 1665088342,
"Ports": [
{
"IP": "0.0.0.0",
"PrivatePort": 9000,
"PublicPort": 9000,
"Type": "tcp"
}
],
"Labels": {},
"State": "running",
"Status": "Up About an hour",
"HostConfig": {
"NetworkMode": "Web"
},
"NetworkSettings": {
"Networks": {
"Web": {
"IPAMConfig": {
"IPv4Address": "172.31.255.227"
},
"Links": null,
"Aliases": null,
"NetworkID": "3f3ef220b41239538402e5800697571fc163785be682672ecb75e5429b3a88d0",
"EndpointID": "4b30bc0cdc3e85a19ab931532c59c2ae3650bff5260ac77313b90ea9e02c0510",
"Gateway": "172.31.255.254",
"IPAddress": "172.31.255.227",
"IPPrefixLen": 27,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:1f:ff:e3",
"DriverOpts": null
}
}
},
"Mounts": [
{
"Type": "volume",
"Name": "php_usr",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/php_usr/_data",
"Destination": "/usr/local/etc",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "phpma_html",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/phpma_html/_data",
"Destination": "/var/www/html/phpma",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
]
},
{
"Id": "e10a980e572b38bcd0c6ac1de9ac3faaec7736028c221cf6a6d028856d65075e",
"Names": [
"/nginx"
],
"Image": "docker.io/nginx:stable",
"ImageID": "sha256:08a1cbf9c69edd2ab8e5250ae97703f60b9393fc5a4827cedda4b7387a5cfc6a",
"Command": "/docker-entrypoint.sh nginx -g 'daemon off;'",
"Created": 1665028510,
"Ports": [
{
"IP": "0.0.0.0",
"PrivatePort": 443,
"PublicPort": 443,
"Type": "tcp"
},
{
"IP": "0.0.0.0",
"PrivatePort": 80,
"PublicPort": 80,
"Type": "tcp"
},
{
"IP": "0.0.0.0",
"PrivatePort": 81,
"PublicPort": 81,
"Type": "tcp"
}
],
"Labels": {
"maintainer": "NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e"
},
"State": "running",
"Status": "Up 7 minutes",
"HostConfig": {
"NetworkMode": "Web"
},
"NetworkSettings": {
"Networks": {
"Web": {
"IPAMConfig": {
"IPv4Address": "172.31.255.226"
},
"Links": null,
"Aliases": null,
"NetworkID": "3f3ef220b41239538402e5800697571fc163785be682672ecb75e5429b3a88d0",
"EndpointID": "5bcd58f7ffa5ec19d00fde51212918ae69547dcddd2ab72875777395372f7c73",
"Gateway": "172.31.255.254",
"IPAddress": "172.31.255.226",
"IPPrefixLen": 27,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:1f:ff:e2",
"DriverOpts": null
}
}
},
"Mounts": [
{
"Type": "volume",
"Name": "nginx_etc",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/nginx_etc/_data",
"Destination": "/etc/nginx",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "nginx_log",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/nginx_log/_data",
"Destination": "/var/log/nginx",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
{
"Type": "volume",
"Name": "phpma_html",
"Source": "/mnt/dietpi_userdata/docker-data/volumes/phpma_html/_data",
"Destination": "/var/www/html/phpma",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
}
]
},