This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [includeIf "gitdir:~/code/<work>/"] | |
| path = "~/code/<work>/.gitconfig" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| mysql: | |
| image: hub.hamdocker.ir/bitnami/mysql:8.0 | |
| ports: | |
| - '127.0.0.1:3306:3306' | |
| # volumes: | |
| # - 'mysql_data:/bitnami/mysql/data' | |
| environment: | |
| - ALLOW_EMPTY_PASSWORD=yes | |
| healthcheck: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| tail-from-file: | |
| image: busybox | |
| container_name: tail-from-file | |
| restart: unless-stopped | |
| volumes: | |
| - /var/log/system.log:/var/log/stream.log | |
| command: | |
| - tail | |
| - -f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: busyboy | |
| namespace: arsalan-dev | |
| spec: | |
| restartPolicy: Never | |
| nodeSelector: | |
| kubernetes.io/hostname: 123.123.123.123 | |
| containers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| traefik: | |
| image: traefik:v2.11.0 | |
| command: --providers.docker | |
| ports: | |
| - "80:80" | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock:ro | |
| networks: | |
| - web |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| redis-exporter: | |
| image: oliver006/redis_exporter:v1.58.0 | |
| restart: unless-stopped | |
| ports: | |
| - "9121:9121" | |
| environment: | |
| REDIS_ADDR: "redis:6379" | |
| REDIS_USER: null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| node_exporter: | |
| image: prom/node-exporter:latest | |
| container_name: node_exporter | |
| ports: | |
| - "127.0.0.1:9100:9100" | |
| command: | |
| - '--web.config.file=/opt/web-config.yml' | |
| - '--path.rootfs=/host' | |
| - '--collector.disable-defaults' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| nginx: | |
| image: nginx:1.25.4-alpine-slim | |
| restart: always | |
| container_name: "nginx" | |
| ports: | |
| - "127.0.0.1:8080:80" | |
| volumes: | |
| - ./config/nginx/default.conf:/etc/nginx/conf.d/default.conf | |
| - ./config/nginx/nginx.conf:/etc/nginx/nginx.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM fluent/fluentd:v1.16-1 | |
| USER root | |
| RUN apk add --no-cache --update --virtual .build-deps \ | |
| sudo build-base ruby-dev \ | |
| && sudo gem install fluent-plugin-prometheus \ | |
| && sudo gem sources --clear-all \ | |
| && apk del .build-deps \ | |
| && rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| traefik: | |
| image: traefik:v2.11.0 | |
| container_name: traefik | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock:ro | |
| labels: | |
| - "traefik.enable=false" | |
| ports: | |
| - "80:80" |