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:
parent
82acd2725e
commit
4b8dd172ab
@ -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:
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user