Skip to content

Instantly share code, notes, and snippets.

View arsalanses's full-sized avatar
🧠
lets play chess

Arsalan Sefidgar arsalanses

🧠
lets play chess
View GitHub Profile
@arsalanses
arsalanses / config.my-cnf
Last active January 15, 2024 13:18
MySQL Exporter Quickstart and Dashboard
[client]
user=username
password=password
@arsalanses
arsalanses / docker-compose.yml
Last active December 31, 2023 15:43
nats docker compose
services:
nats:
image: docker.io/bitnami/nats:2
environment:
- "NATS_ENABLE_AUTH=yes"
- "NATS_USERNAME=nats"
- "NATS_PASSWORD=my_password"
ports:
# NATS_CLIENT_PORT_NUMBER
- "0.0.0.0:4222:4222"
@arsalanses
arsalanses / docker-compose.yml
Created December 14, 2023 08:02
internet access check container curl+uptimekuma
services:
curlkuma:
image: curlimages/curl:latest
command: sh -c "watch -n30 'curl -s https://example.com'"
@arsalanses
arsalanses / docker-compose.yml
Created December 18, 2023 14:38
wordpress traefik compose
services:
mariadb:
image: docker.io/bitnami/mariadb:11.1
# volumes:
# - 'mariadb_data:/bitnami/mariadb'
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_wordpress
- MARIADB_DATABASE=bitnami_wordpress
@arsalanses
arsalanses / INSTALL.md
Created January 3, 2024 08:27
awx ansible tower
@arsalanses
arsalanses / compose.yml
Created January 11, 2024 10:24
graylog
services:
mongo:
image: mongo:5.0.13
container_name: graylog_mongodb
# volumes:
# - mongo_data:/data/db
networks:
- graylog
elasticsearch:
@arsalanses
arsalanses / README.md
Last active January 13, 2024 15:28
kind Cluster

Basics

kind create cluster --config=kubecluster.yml

docker pull traefik/whoami:v1.10.1
kind load docker-image traefik/whoami:v1.10.1

kind delete cluster
@arsalanses
arsalanses / cgitrc
Created January 23, 2024 06:53
cgit
scan-path=/var/www/cgit/
cache-scanrc-ttl=1
css=/cgit-data/cgit.css
logo=/cgit-data/cgit.png
favicon=/cgit-data/favicon.ico
# =========================================
# enable-http-clone=1
@arsalanses
arsalanses / docker-compose.yml
Created January 30, 2024 13:48
elasticsearch
services:
es:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.4
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m -Des.enforce.bootstrap.checks=true"
- "xpack.license.self_generated.type=basic"
- "xpack.security.enabled=false"
- "xpack.watcher.enabled=false"
- "xpack.graph.enabled=false"
- "xpack.ml.enabled=false"
@arsalanses
arsalanses / docker-compose.yml
Last active February 26, 2024 12:09
chartmuseum
services:
ui:
image: idobry/chartmuseumui:latest
environment:
CHART_MUSEUM_URL: "http://chartmuseum:8080"
ports:
- 80:8080
chartmuseum:
image: chartmuseum/chartmuseum:latest