Projekt

Obecné

Profil

Stáhnout (758 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
version: '3.1'
2

    
3
services:
4

    
5
  app:
6
    image: openjdk:13-jdk-alpine
7
    container_name: yamanager_app
8
    volumes:
9
      - /tmp
10
      - ./target/ymanager-1.0-SNAPSHOT-full-app.jar:/app.jar
11
    entrypoint: java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Djava.security.egd=file:/dev/./urandom -jar /app.jar
12
    restart: always
13
    ports:
14
      - 9080:8080
15
      - 6005:5005
16
    depends_on:
17
      - db
18
    links:
19
      - db
20

    
21
  db:
22
    image: mariadb
23
    container_name: yamanager_db
24
    restart: always
25
    volumes:
26
      - ./init.sql:/docker-entrypoint-initdb.d/init.sql
27
    environment:
28
      MYSQL_ROOT_PASSWORD: root
29
      MYSQL_USER: user
30
      MYSQL_PASSWORD: passwd
31
      MYSQL_DATABASE: yamanager
32
    ports:
33
      - 3306:3306
(3-3/6)