How can I enhance the speed of docker site

52 Views Asked by At

I have site running on a docker container here is my compose file it is quite basic

version: '3'

services:
  apache:
    image: httpd:latest
    networks:
      vlan-ecm:
        ipv4_address: 172.16.21.100
    ports:
      - "8080:80"  # Correct indentation here
    restart: always
    volumes:
      - ./html:/usr/local/apache2/htdocs
networks:
  vlan-ecm:
    external: true

however I was wondering if there is anything I can do to enhance the loading speed of my site considering it takes ages to load. Would it be the lack of resources on my VM? what could maybe help make it load fast?

0

There are 0 best solutions below