update mysql volume

This commit is contained in:
kev 2019-10-27 07:52:18 +08:00
parent f5dc0c677d
commit 7a2be93ddc
3 changed files with 12 additions and 10 deletions

View File

@ -1,9 +1,12 @@
`MantisBT` is an open source issue tracker that provides
mantisbt
========
[MantisBT][1] is an open source issue tracker that provides
a delicate balance between simplicity and power.
## docker-compose.yml
```
```yaml
mantisbt:
image: vimagick/mantisbt:latest
ports:
@ -14,6 +17,8 @@ mantisbt:
mysql:
image: mysql:5.7
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker
@ -65,3 +70,4 @@ $g_smtp_username = 'mantisbt';
$g_smtp_password = '********';
```
[1]: https://www.mantisbt.org/index.php

View File

@ -8,16 +8,11 @@ mantisbt:
mysql:
image: mysql:5.7
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker
- MYSQL_USER=mantis
- MYSQL_PASSWORD=mantis
restart: always
postgres:
image: postgres:latest
environment:
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
restart: always

View File

@ -10,8 +10,9 @@ opencart:
mysql:
image: mysql
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=opencart
restart: always