Skip to content

Instantly share code, notes, and snippets.

View fho's full-sized avatar

Fabian Holler fho

View GitHub Profile
@fho
fho / job.nomad
Last active April 16, 2018 12:23
job "logbug" {
datacenters = ["dc1"]
type = "service"
update {
max_parallel = 1
auto_revert = false
canary = 0
}
migrate {
max_parallel = 1
@fho
fho / main.go
Created May 27, 2019 13:16
dbquery test
package main
import (
"bufio"
"database/sql"
"fmt"
"os"
_ "github.com/lib/pq" // postgres driver
)
@fho
fho / compose.yaml
Created March 15, 2024 15:01
docker compose issue #11437
services:
c0:
depends_on:
c1:
condition: service_started
required: true
c2:
condition: service_healthy
required: true
c3: