Skip to content

Instantly share code, notes, and snippets.

View occamist's full-sized avatar
🐧
Flightless, not fightless

Talha Altınel occamist

🐧
Flightless, not fightless
View GitHub Profile
@occamist
occamist / docker-compose.yaml
Last active August 30, 2026 22:30
Lamia app
services:
lamia:
image: ghcr.io/mrwormhole/lamia:v0.0.12
restart: always
networks:
- traefik-network
labels:
# Lamia app
- "traefik.enable=true"
- "traefik.http.routers.lamia.rule=Host(`lamia.goldenhandsoftware.co.uk`)"
@occamist
occamist / docker-compose.yaml
Last active August 30, 2026 22:30
traefik + portainer
services:
traefik:
container_name: traefik
image: traefik:v3.3
command:
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --providers.docker
- --providers.docker.exposedByDefault=false
- --global.sendAnonymousUsage=false
@occamist
occamist / .golangci.yaml
Last active August 30, 2026 22:31
Linter config for 1.63
# If this config is confusing, have a look here, it is documented from A-Z https://golangci-lint.run/usage/linters
linters-settings:
revive:
max-open-files: 2048 # Maximum number of open files at the same time.
ignore-generated-header: false # When set to false, ignores files with "GENERATED" header, similar to golint.
severity: warning # Sets the default severity.
enable-all-rules: false # Enable all available rules.
confidence: 0.8 # This means that linting errors with less than 0.8 confidence will be ignored.
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#context-as-argument