Skip to content

Instantly share code, notes, and snippets.

View obcode's full-sized avatar

Oliver Braun obcode

  • Munich University of Applied Sciences
  • Germany
View GitHub Profile
@obcode
obcode / main.go
Created April 10, 2020 18:28
Main für Customer-Service customer/service/main.go
func main() {
var wg sync.WaitGroup
wg.Add(1)
defer wg.Wait()
flagBind := flag.String("bind", ":9010", "Bind service to address")
flag.Parse()
context := actor.EmptyRootContext
@obcode
obcode / docker-compose.yaml
Last active May 14, 2020 09:41
Beispiel Docker-Compose für VSS Blatt 1
version: "3"
services:
customerservice:
image: docker.pkg.github.com/vesose/solutionb1/customerservice:latest
command: --bind=customerservice:9010
bookservice:
image: docker.pkg.github.com/vesose/solutionb1/bookservice:latest
command: --bind=bookservice:9020
libraryservice:
image: docker.pkg.github.com/vesose/solutionb1/libraryservice:latest
@obcode
obcode / docker-compose.yml
Created May 16, 2020 09:15
Docker-Compose für Drone
version: "3"
services:
nginx:
build:
context: .
dockerfile: nginx.dockerfile
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- /home/obraun/certs:/etc/nginx/certs:ro
ports:
# ./.tmuxinator.yml
name: client1
root: ./
windows:
- servers:
layout: main-vertical
panes:
- etcd