docker

Docker for services
git clone git://git.unixkoans.com/docker.git
Log | Files | Refs

docker-compose.yml (391B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '2'

services:
  mantisbt:
    image: vimagick/mantisbt:latest
    restart: always
    depends_on:
      - mysql
    ports:
      - "9090:80"

  mysql:
    image: mysql:5.7
    restart: always
    volumes:
      - /var/local/mysql:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=root
      - MYSQL_DATABASE=mantis
      - MYSQL_USER=mantis
      - MYSQL_PASSWORD=mantis