If you want to use NFS volumes mounted directly inside the container, it is highly recommended to use `systemd` to start the service on boot.
```
[Unit]
Description=Start jellyfin server through docker
After=docker.service network-online.target
Requires=docker.service network-online.target
[Service]
WorkingDirectory=/opt/services/Jellyfin
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/bin/sleep 10
ExecStart=/usr/local/bin/docker-compose up -d
ExecStop=/usr/local/bin/docker-compose stop
[Install]
WantedBy=multi-user.target
```
Notice the `sleep` of 10 seconds, it seems like starting the process straight after boot fails because of some NFS confusion, adding a timer fixes the problem until a better solution is found.