Created
May 12, 2022 21:35
-
-
Save invidian/baaac34c9684e91c5bb84692d9d58411 to your computer and use it in GitHub Desktop.
Tiltfile for local Go development with Docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: Python -*- | |
local_resource('local-api-server', | |
cmd='make build-bin', | |
serve_env={ | |
'S3_SECRET_ACCESS_KEY': 'minioadmin', | |
}, | |
serve_cmd='./bin/server', | |
deps=[ | |
'api', | |
'cli', | |
'cmd', | |
'internal', | |
'go.mod', | |
'go.sum', | |
'vendor', | |
] | |
) | |
docker_compose('./docker-compose.yml') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment