mv the db volume from gitea into the project dir

This commit is contained in:
Andreas Zweili 2020-06-06 12:56:15 +02:00
parent 2f836e623d
commit d77d909da4
1 changed files with 1 additions and 4 deletions

View File

@ -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