github.com/night-codes/go-json@v0.9.15/docker-compose.yml (about)

     1  version: '2'
     2  services:
     3    go-json:
     4      image: golang:1.18
     5      volumes:
     6        - '.:/go/src/go-json'
     7      deploy:
     8        resources:
     9          limits:
    10            memory: 620M
    11      working_dir: /go/src/go-json
    12      command: |
    13        sh -c "go test -c . && ls go-json.test"