
When destroying a container, all the data that was written to the overlay file system is lost. This documents which paths must be mounted to allow persisting data in docker volumes across restarts and removed containers.
13 lines
328 B
YAML
13 lines
328 B
YAML
version: "3.1"
|
|
services:
|
|
whiteboard:
|
|
image: rofl256/whiteboard
|
|
restart: always
|
|
ports:
|
|
- "8080:8080/tcp"
|
|
command: --config=./config.default.yml
|
|
volumes:
|
|
- ./data/uploads:/opt/app/public/uploads"
|
|
- ./data/config.yml:/opt/app/config.default.yml:ro
|
|
- ./data/savedBoards:/opt/app/savedBoards"
|