HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //data/wpp-docker/docker-server-front-dev/docker-compose.yaml
version: '3'

services: 

  wppconnect-server:
    build: 
      context: ./wppconnect-server
      dockerfile: Dockerfile
    restart: always
    image: wppconnect-server
    container_name: wppconnect-server
    hostname: wppconnect-server
    volumes:
      - ./wppconnect-server/app:/home/node/app
      - /home/node/app/node_modules
    entrypoint: docker-entrypoint.sh yarn dev
    networks: 
      - wpp-network
    tty: true
  
  wppconnect-front:
    build: 
      context: ./wppconnect-front
      dockerfile: Dockerfile
    image: wppconnect-front
    container_name: wppconnect-front
    hostname: wppconnect-front
    volumes:
      - ./wppconnect-front/app:/home/node/app
      - /home/node/app/node_modules
    entrypoint: docker-entrypoint.sh yarn start
    networks: 
      - wpp-network
    tty: true
    depends_on:
      - wppconnect-server

  wppconnect-nginx:
    build: 
      context: ./wppconnect-nginx
      dockerfile: Dockerfile
    container_name: wppconnect-nginx
    hostname: wppconnect-nginx
    entrypoint: nginx -g "daemon off;"
    ports:
      - "9080:8080"
      - "9081:8081"
    networks: 
      - wpp-network
    depends_on:
      - wppconnect-front

networks: 
  wpp-network:
    name: wpp-network
    driver: bridge