diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-29 15:23:15 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-30 20:23:12 +0100 |
commit | dce2b495b931f82fbb8d1ff71ef661d77817307c (patch) | |
tree | 4783784b98ffe1602d668eed37bf634737acded5 /compose.yaml | |
parent | b77dec0049ea1d23fc75e73866f2bdf305ad3433 (diff) |
Some tidying
Configured to run dlv in the container
See https://golangforall.com/en/post/go-docker-delve-remote-debug.html
Haven't actually go the interactive dlv working - need to explore docker
attach to do that, maybe.
Slimmed down image in play
- Also adds a new make rule to run debug container
Diffstat (limited to 'compose.yaml')
-rw-r--r-- | compose.yaml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/compose.yaml b/compose.yaml index d1544a0..38a3ba9 100644 --- a/compose.yaml +++ b/compose.yaml @@ -13,11 +13,10 @@ services: app: build: context: . - volumes: - - .:/app + # volumes: + # - .:/app restart: "unless-stopped" - command: > - sh -c "go run ./cmd/dbasik-api" + command: "./app" ports: - 5000:5000 depends_on: |