ymanager/docker-compose.yml @ 7de5fe43
1 | 41741550 | Hung Hoang | version: '3.1' |
---|---|---|---|
2 | |||
3 | services: |
||
4 | |||
5 | app: |
||
6 | 6c6f9413 | Jakub Danek | image: danekja/ymanager |
7 | build: ./server/ |
||
8 | 41741550 | Hung Hoang | restart: always |
9 | ports: |
||
10 | - 9080:8080 |
||
11 | - 6005:5005 |
||
12 | depends_on: |
||
13 | - db |
||
14 | links: |
||
15 | - db |
||
16 | |||
17 | db: |
||
18 | image: mariadb |
||
19 | container_name: yamanager_db |
||
20 | restart: always |
||
21 | volumes: |
||
22 | 6c6f9413 | Jakub Danek | - ./server/init.sql:/docker-entrypoint-initdb.d/init.sql |
23 | 41741550 | Hung Hoang | environment: |
24 | MYSQL_ROOT_PASSWORD: root |
||
25 | MYSQL_USER: user |
||
26 | MYSQL_PASSWORD: passwd |
||
27 | MYSQL_DATABASE: yamanager |
||
28 | ports: |
||
29 | - 3306:3306 |