Skip to content

Instantly share code, notes, and snippets.

@Luke-Rogerson
Created October 20, 2023 20:29
Show Gist options
  • Save Luke-Rogerson/30e43fe84fbe21ce48eb6c4e3d96d533 to your computer and use it in GitHub Desktop.
Save Luke-Rogerson/30e43fe84fbe21ce48eb6c4e3d96d533 to your computer and use it in GitHub Desktop.
docker-compose.yml for docker compose watch example
version: "3.8"
services:
app:
build:
dockerfile: Dockerfile
context: .
develop:
watch:
- action: rebuild
files:
- ./**/*.go
- ./go.mod
- ./go.sum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment