docker

http://www.awanx.com/
回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

docker

文章 yehlu »

docker-compose.yml

代碼: 選擇全部

mariadb:
  container_name: mariadb
  restart: always
  image: mariadb:latest
  ports:
    - "3306:3306"
  environment:
    - MYSQL_ROOT_PASSWORD=secret
    - MYSQL_DATABASE=homestead
    - MYSQL_USER=homestead
    - MYSQL_PASSWORD=secret
  volumes:
    - /home/Dockers/mariadb:/var/lib/mysql/

tomcat:
  container_name: tomcat
  restart: always
  image: tomcat:latest
  links:
    - mariadb:db
  ports:
    - "8080:8080"
  environment:
    - DB_HOST=mariadb
  volumes:
    - /home/Dockers/auto/tomcat/conf:/usr/local/tomcat/conf
    - /dasamx:/dasamx/


/dasamx/e3010001/util/setup.sh text

代碼: 選擇全部

1) Database Type = MySQL
2) Database Host = db
3) Database Name = e3010001
4) Database User = root
5) Database Password = secret
6) New Database Password =
7) E3 Work Path = /dasamx/e3010001
8) Web server.xml = /usr/local/tomcat/conf/server.xml
回覆文章

回到「E3進銷存」