the only change I had to make was to add the config file to the volumes list:
compose.yml
services:
fmd-server:
image: registry.gitlab.com/nulide/findmydeviceserver:v0.7.0
container_name: fmd-server
volumes:
- data:/data
- ./fmd/data:/fmd/db/
- ./fmd/config/config.yml:/fmd/config.yml:ro
restart: unless-stopped
networks:
- fmd_server
# ports:
# - 8080:8080
# legacy
volumes:
data:
networks:
fmd_server:
You need to install the client from F-Droid and it periodically polls your device for its location.