Closed KeironO closed 3 years ago
You seem to be doing exactly what right as far as I could tell. I am testing with pretty much exactly the same docker-compose file:
version: '3.3'
services:
euterpe:
volumes:
- '/home/iron4o/euterpe-data:/root/.euterpe'
- '/home/iron4o/Music:/root/Music'
ports:
- '9996:9996'
image: 'ironsmile/euterpe:latest'
How do you know that the database is not persisted? There is no euterpe.db
in your /home/keo7/services/euterpe/data
directory?
Alternatively you could use a volume in the docker-compose file:
version: '3.3'
services:
euterpe:
volumes:
- 'euterpe-data:/root/.euterpe'
- '/home/iron4o/Music:/root/Music'
ports:
- '9996:9996'
image: 'ironsmile/euterpe:latest'
volumes:
euterpe-data:
Apologies, it was an issue with my directory mounts, fstab
doing fstab
things again.
Regardless of whatever I try to do, I am unable to persist the database when installed via docker.
docker-compose.yml: