The module allows you to administer a containerized Netatalk deployment via a web interface. Here follows an example Docker Compose configuration to run the module in a container. When up and running, you can access Webmin from a web browser on port 10000.
Note that since the netatalk daemons run in a separate container, we cannot control
the services directly. Instead, activate polling of changes to the afp.conf
configuration file. Set AFP_CONFIG_POLLING to the number of seconds to wait between
polling attempts.
You also want to set MANUAL_CONFIG=1 in order for any configurations that you set in the Webmin module to be persistent between container restarts.
It is mandatory to set AFP_PASS and WEBMIN_PASS to appropriate passwords.
services:
netatalk:
image: netatalk/netatalk:latest
networks:
- afp_network
ports:
- "548:548"
volumes:
- afpshare:/mnt/afpshare
- afpbackup:/mnt/afpbackup
- afpconf:/etc/netatalk
- /var/run/dbus:/var/run/dbus
environment:
- AFP_USER=atalk1
- AFP_PASS=
- AFP_GROUP=afpusers
- AFP_CONFIG_POLLING=5
- MANUAL_CONFIG=1
webmin:
image: netatalk/webmin:latest
networks:
- afp_network
ports:
- "10000:10000"
volumes:
- afpconf:/etc/netatalk
environment:
- WEBMIN_USER=admin
- WEBMIN_PASS=
depends_on:
- netatalk
volumes:
afpshare:
afpbackup:
afpconf:
networks:
afp_network:
driver: bridge
Content type
Image
Digest
sha256:36c12bf6e…
Size
235 MB
Last updated
about 22 hours ago
docker pull netatalk/webmin:4.4.2