version: '2.4'
services:
app:
image: markus621/golang:latest
container_name: go_app
volumes:
- ./src:/app:ro
healthcheck:
test: [ "CMD", "/healthcheck.sh", "8080"]
interval: 15s
timeout: 10s
retries: 10
networks:
default:
name: go_app_net
docker pull markus621/golang:latest