Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add docker compose method

...

Thai

เรียกดูการติดตั้งที่  http://your_docker_host:8080/jw

Option 3: Run Joget using Docker Compose

You can run Joget using the docker-compose yaml template file below:

Code Block
languageyml
titledocker-compose.yaml
collapsetrue
version: '2'

services:
  joget:
    container_name: jogetapp
    image: jogetworkflow/joget-enterprise:latest
    restart: unless-stopped
    environment:
      - MYSQL_HOST=jogetdb
      - MYSQL_DATABASE=jwdb
      - MYSQL_PORT=3306
      - MYSQL_USER=joget
      - MYSQL_PASSWORD=joget
    volumes:
      - jogetdata:/opt/joget/wflow
    networks:
      joget-backend:
    ports:
      - 8080:8080
    depends_on:
      jogetdb:
        condition: service_healthy
  jogetdb:
    container_name: jogetdb
    image: mysql:8.0
    restart: unless-stopped
    environment:
      - MYSQL_ROOT_PASSWORD=rootpass
      - MYSQL_DATABASE=jwdb
      - MYSQL_USER=joget
      - MYSQL_PASSWORD=joget
    volumes:
      - mysqldata:/var/lib/mysql
    networks:
      joget-backend:
    healthcheck:
      test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
      timeout: 20s
      retries: 10

volumes:
  jogetdata:
  mysqldata:

networks:
  joget-backend:

Either use docker compose up -d command if you are using docker-compose.yaml filename or docker compose -f {yourcomposefilename} up -d if you set a custom filename for your yaml file. You can then browse to the installation at http://your_docker_host:8080/jw

Preserve MAC Address for Joget License

...