services: nginx-dev: image: nginx:latest restart: unless-stopped depends_on: - haproxy-dev ports: - "80:80" - "443:443" volumes: - ./config_files/default.conf:/etc/nginx/conf.d/default.conf:ro - ./certs:/etc/nginx/certs:ro - ./certbot/www:/var/www/certbot:ro - nginx_cache:/var/cache/nginx - nginx_dynamic_cache:/var/cache/nginx_dynamic haproxy-dev: image: haproxy:alpine restart: unless-stopped depends_on: - varnish-dev - squid-dev ports: - "9000:9000" - "8404:8404" volumes: - ./config_files/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro varnish-dev: image: varnish:fresh-alpine restart: unless-stopped ports: - "6081:80" volumes: - ./config_files/default.vcl:/etc/varnish/default.vcl:ro squid-dev: image: ubuntu/squid:latest restart: unless-stopped ports: - "3128:3128" volumes: - ./config_files/squid.conf:/etc/squid/squid.conf:ro - squid_cache:/var/spool/squid - squid_logs:/var/log/squid volumes: nginx_cache: nginx_dynamic_cache: squid_cache: squid_logs: