Granana docker container not saving config upon restart

Hi,

I am running Grafana v5.2.3 with docker-compose with persistent storage as per this documentation;
Capture-1

Also, I have setup a user grafana with 472:472 and changed the docker volume to this group/user.

The docker compose file is as follows;

grafana-1:
user: grafana
image: grafana/grafana
ports:
- “3000:3000”
volumes:
- /grafana-storage-1:/var/lib/grafana grafana/grafana

This all ‘appears’ to work and the container starts up. Inspecting the container it shows it is using the now volume;

[root]# docker inspect dockercomposefile_grafana-1_1 | grep -i grafana-storage-1
“/grafana-storage-1:/var/lib/grafana grafana/grafana:rw”
“Source”: “/grafana-storage-1”,

I can now login, configure the datasource, dashboards etc. and when I logout all is saved, so when I log back in again everything is as was.

However, if I shutdown the container and restart it, all the configs have gone and I’m back to the initial setup again.

Can anyone suggest what I am doing wrong or/and missing please?

Many Thanks