services:
  proxy:
    image: 525595969507.dkr.ecr.eu-central-1.amazonaws.com/qwan/qwnginx:mkcertspike
    hostname: proxy
    depends_on: 
      - cat
      - tiger
      - lion
      - puma
      - cheetah
      - leopard
      - lynx
      - cougar
    ports:
      - "8079:8079"
      - "8443:8443"
      - "80:8079"
      - "443:8443"
    environment:
      - CLIENT_NAME
      - SERVER_NAME=${SERVER_NAME:-qwanlabs.com}
      - PASSWORD
    networks:
      - x11
  cat:
    image: ${IMAGE}
    hostname: cat
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8080:8080"
    volumes:
      - cathome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  tiger:
    image: ${IMAGE}
    hostname: tiger
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8081:8080"
    volumes:
      - tigerhome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  cheetah:
    image: ${IMAGE}
    hostname: cheetah
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8082:8080"
    volumes:
      - cheetahhome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  lion:
    image: ${IMAGE}
    hostname: lion
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8083:8080"
    volumes:
      - lionhome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  puma:
    image: ${IMAGE}
    hostname: puma
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8084:8080"
    volumes:
      - pumahome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  leopard:
    image: ${IMAGE}
    hostname: leopard
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8085:8080"
    volumes:
      - leopardhome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  cougar:
    image: ${IMAGE}
    hostname: cougar
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8086:8080"
    volumes:
      - cougarhome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  lynx:
    image: ${IMAGE}
    hostname: lynx
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8087:8080"
    volumes:
      - lynxhome:/home/experience
      - qwanhome:/git/qwan
    networks:
      - x11
  qwan:
    image: ${IMAGE}
    hostname: qwan
    environment:
      # Adjust to your screen size
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=yes
    ports:
      - "8090:8080"
    volumes:
      - qwanhome:/home/experience
    networks:
      - x11
networks:
  x11:

volumes:
  cathome:
  tigerhome:
  lionhome:
  pumahome:
  cheetahhome:
  leopardhome:
  cougarhome:
  lynxhome:
  qwanhome:
