mv the db volume from gitea into the project dir
This commit is contained in:
parent
2f836e623d
commit
d77d909da4
|
@ -1,8 +1,5 @@
|
|||
version: "2"
|
||||
|
||||
volumes:
|
||||
db:
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: "traefik:v2.2"
|
||||
|
@ -49,7 +46,7 @@ services:
|
|||
db:
|
||||
image: mariadb
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
- ./db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD
|
||||
- MYSQL_PASSWORD
|
||||
|
|
Reference in New Issue