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