45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
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
|
|
volumes:
|
|
- ./config_files/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
|
|
|
varnish-dev:
|
|
image: varnish:fresh-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./config_files/default.vcl:/etc/varnish/default.vcl:ro
|
|
|
|
squid-dev:
|
|
image: ubuntu/squid:latest
|
|
restart: unless-stopped
|
|
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:
|