Sign inSign up

zelejs/allin-web

By zelejs

Updated about 2 years ago

All in web base on ubuntu

Image
0

2.8K

zelejs/allin-web repository overview

Tags

slim jdk8, as well as nginx excluded mysqlserver latest jdk8,nginx includes mysql server together jre11 jre11 as well as nginx excluded mysqlserver

Docker RUN

docker run --name demo-name  
    --privileged=true
    -v /etc/localtime:/etc/localtime:ro 
    -v ./web/dist:/var/www/html 
    -v ./api:/webapps  
    -v ./swagger/app:/swagger/app
    -p 8080:8080  
    -p 8000:80 
    -e ENDPOINT=192.168.3.10:8080
    -e GREENFIELD=run
    -e URL_SHORT=120.79.49.72/test
    -e USERNAME=root
    -e PASSWORD=root
    -d allin-web:jre11

docker-compose.yaml

version: "3"
services:
  app:
    image: zelejs/allin-web:jre11
    container_name: demo-app
    privileged: true
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./web/dist:/var/www/html  
      - ./api:/webapps  
      - ./swagger/app:/swagger/app
    ports:
      - 8080:8080  
      - 8000:80 
    depends_on:
      - mysql
    links:
      - mysql:mysqlserver
    environment:
      #GREENFIELD: run
      ENDPOINT: 192.168.3.10:8080
      URL_SHORT: mysqlserver:3306/test
      USERNAME: root
      PASSWORD: root

  mysql:
    image: zelejs/mysql:5.7
    container_name: mysql57
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'root'
      MYSQL_DATABASE: 'test'
    volumes:
      - mydata:/var/lib/mysql
      #- /var/local/mysql/logs:/var/log/mysql
    ports:
      - '172.17.0.1:3306:3306'

volumes:
  mydata:

Tag summary

Content type

Image

Digest

sha256:4f34fae23

Size

2.7 MB

Last updated

about 2 years ago

docker pull zelejs/allin-web:m2