ymanager/docker-compose.yml @ 3dfec56f
1 |
version: '3.1' |
---|---|
2 |
|
3 |
services: |
4 |
|
5 |
app: |
6 |
image: danekja/ymanager |
7 |
build: ./server/ |
8 |
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 |
- ./server/init.sql:/docker-entrypoint-initdb.d/init.sql |
23 |
environment: |
24 |
MYSQL_ROOT_PASSWORD: root |
25 |
MYSQL_USER: user |
26 |
MYSQL_PASSWORD: passwd |
27 |
MYSQL_DATABASE: yamanager |
28 |
ports: |
29 |
- 3306:3306 |