1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02:00
This commit is contained in:
kev 2015-05-18 17:52:55 +08:00
parent 953957af7a
commit 16eb7d990b
2 changed files with 9 additions and 10 deletions

View File

@ -5,15 +5,15 @@ a delicate balance between simplicity and power.
``` ```
mantisbt: mantisbt:
image: vimagick/mantisbt image: vimagick/mantisbt:latest
ports: ports:
- "8989:80" - "8989:80"
links: links:
- db:mysql - mysql
restart: always restart: always
db: mysql:
image: mysql image: mysql:latest
environment: environment:
- MYSQL_ROOT_PASSWORD=root - MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker - MYSQL_DATABASE=bugtracker

View File

@ -1,15 +1,14 @@
mantisbt: mantisbt:
image: vimagick/mantisbt image: vimagick/mantisbt:latest
ports: ports:
- "8989:80" - "8989:80"
links: links:
- db:mysql - mysql
restart: always restart: always
db: mysql:
image: mysql image: mysql:latest
ports:
- "3306:3306"
environment: environment:
- MYSQL_ROOT_PASSWORD=root - MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker - MYSQL_DATABASE=bugtracker
restart: always