Skip to content

Enhancement/Add volume for SQLite DB in doccano container#441

Merged
Hironsan merged 1 commit intodoccano:masterfrom
CatalystCode:enhancement/docker-volume
Nov 26, 2019
Merged

Enhancement/Add volume for SQLite DB in doccano container#441
Hironsan merged 1 commit intodoccano:masterfrom
CatalystCode:enhancement/docker-volume

Conversation

@c-w
Copy link
Member

@c-w c-w commented Nov 11, 2019

This pull request moves the SQLite database file used in Doccano's Dockerfile to a dedicated directory /data and binds this directory using a VOLUME instruction.

This enables us to persist Doccano's database file across container restarts in a filesystem/platform independent way. The README has been updated with instructions on how to leverage this functionality.

Resolves #438

@orico
Copy link

orico commented Nov 17, 2019

did you merge this yet?

@c-w c-w force-pushed the enhancement/docker-volume branch from 4f2625a to fa4d92e Compare November 21, 2019 15:10
@Hironsan Hironsan mentioned this pull request Nov 25, 2019
@Hironsan Hironsan merged commit 2ebc729 into doccano:master Nov 26, 2019
@c-w c-w deleted the enhancement/docker-volume branch November 26, 2019 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modify or Add docker run command at Usage section to avoid data vanishing after docker stop

4 participants