Skip to content

Instantly share code, notes, and snippets.

View SyaibanAhmadRamadhan's full-sized avatar

iban.rama SyaibanAhmadRamadhan

View GitHub Profile
version: '3'
services:
cadvisor:
image: gcr.io/cadvisor/cadvisor
container_name: monitoring_cadvisor
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
@SyaibanAhmadRamadhan
SyaibanAhmadRamadhan / minio.conf
Last active September 1, 2023 20:53
example-minio-reverse-proxy-loadbalance-nginx
upstream minio_s3 {
least_conn;
server minio-01.internal-domain.com:9000;
server minio-02.internal-domain.com:9000;
server minio-03.internal-domain.com:9000;
server minio-04.internal-domain.com:9000;
}
upstream minio_console {
least_conn;
@SyaibanAhmadRamadhan
SyaibanAhmadRamadhan / docker-compose.yaml
Last active September 1, 2023 20:52
example-nginx-certbot-docker
version: '3'
services:
nginx:
image: nginx
ports:
- 80:80
- 443:443
volumes:
# folder containing nginx conf
- ./nginx-conf:/etc/nginx/conf.d