61 lines
1.4 KiB
Plaintext
61 lines
1.4 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
|
|
- ./config_files/matrix.conf:/etc/nginx/conf.d/matrix.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
|
|
|
|
node-exporter:
|
|
image: prom/node-exporter:latest
|
|
restart: unless-stopped
|
|
pid: host
|
|
ports:
|
|
- "0.0.0.0:9100:9100/tcp"
|
|
command:
|
|
- --path.procfs=/host/proc
|
|
- --path.sysfs=/host/sys
|
|
- --path.rootfs=/rootfs
|
|
volumes:
|
|
- /proc:/host/proc:ro
|
|
- /sys:/host/sys:ro
|
|
- /:/rootfs:ro
|
|
|
|
volumes:
|
|
nginx_cache:
|
|
nginx_dynamic_cache:
|
|
squid_cache:
|
|
squid_logs:
|