Add persistent volume to database container.

This commit is contained in:
Ferdinand Mütsch 2019-10-08 09:29:31 +02:00
parent 82acd2725e
commit 4b8dd172ab
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
version: "3.1"
services:
services:
wakapi:
image: wakapi:latest
build:
@ -29,7 +29,12 @@ services:
- MYSQL_PASSWORD=supersecretpassword
restart: unless-stopped
ports:
- "3306:3306"
- "3306:3306"
volumes:
- "dbdata:/config"
volumes:
dbdata: