Skip to content

Instantly share code, notes, and snippets.

View antonioanerao's full-sized avatar

Antonio Anerão antonioanerao

View GitHub Profile
@antonioanerao
antonioanerao / docker-compose.yml
Created June 8, 2024 11:25
Docker compose WordPress
services:
traefik:
image: "traefik"
container_name: "traefik"
restart: always
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
@antonioanerao
antonioanerao / docker-ip.sh
Created May 6, 2024 14:45
Lista os IPs dos containers docker
#!/bin/bash
docker ps --format "{{.Names}}" | while read container; do
ip=$(docker inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' "$container")
printf "%-40.40s\t%s\t%s\n" "$container" "$ip"
done
@antonioanerao
antonioanerao / docker-compose.yml
Created May 5, 2024 14:32
Traefik + Portainer for localhost development
services:
traefik:
image: "traefik"
container_name: "traefik"
restart: always
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
- "--providers.docker=true"
@antonioanerao
antonioanerao / docker-compose.yml
Last active April 2, 2024 19:42
Docker compose laravel
version: "3.3"
services:
laravel:
container_name: laravel
image: antonioanerao/laravel:latest
restart: always
networks:
- proxy
ports:
@antonioanerao
antonioanerao / feature.yml
Created October 3, 2023 15:08
GitHub Issue Template for Feature/Enhancement
description: Novo recurso ou melhoria de um existente
title: "[Aprimoramento]: "
labels: ["enhancement"]
body:
- type: textarea
id: aprimoramento
attributes:
label: Aprimoramento
description: Descreva detalhadamente qual o novo recurso ou aprimoramento desejado.
validations:
@antonioanerao
antonioanerao / bug.yml
Created October 3, 2023 15:07
GitHub Issue Template for Bug
name: Reportar Bug
description: Reportar um erro de comportamento ou bug do código
title: "[Bug]: "
labels: ["bug"]
body:
- type: textarea
id: o-que-houve
attributes:
label: O que houve?
description: Descreva detalhadamente qual foi o problema encontrado
@antonioanerao
antonioanerao / docker-compose.yml
Created September 19, 2023 17:41
Docker compose com traefik e laravel
version: "3.3"
services:
traefik:
image: "traefik"
container_name: "traefik"
restart: always
command:
- "--log.level=DEBUG"
- "--api.insecure=true"
@antonioanerao
antonioanerao / docker-compose.yml
Last active September 4, 2023 14:02
Exemplo de docker compose
version: "3.3"
services:
sigep-auth:
container_name: sigep-auth
image: antonioanerao/laravel:latest
restart: always
networks:
- proxy
ports:
@antonioanerao
antonioanerao / .nvidia-settings-rc
Created April 4, 2023 21:37
Nvidia setting for antonio-notebook-ubuntu
#
# /home/antonio/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA Settings utility
# Generated on Tue Apr 4 16:35:16 2023
#
# ConfigProperties:
RcFileLocale = C
@antonioanerao
antonioanerao / docker-compose.yml
Created April 3, 2023 14:16
Docker compose para subir traefik, servidor web, mysql e phpmyadmin
version: "3.3"
services:
traefik:
image: "traefik:v2.4"
container_name: "traefik"
restart: always
command:
- "--log.level=DEBUG"
- "--api.insecure=true"