system-config/home/etc/containers/systemd/mongodb.container

9 lines
189 B
Text

[Container]
Image=docker.io/mongo:7.0
UserNS=host
Exec=--logpath /dev/null
Network=mongodb.network
Volume=mongodb.volume:/data/db:Z
AutoUpdate=registry
[Install]
WantedBy=multi-user.target