Use data only container

Instead of storing data in a volume in the database,
store data in a data only container and link it
to the database container.