1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

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

View File

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