You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dsMin/docker/docker-compose.dev.yml

19 lines
580 B

version: "3.8"
services:
dsbaserpc:
cap_add:
- SYS_PTRACE
security_opt:
- "seccomp:unconfined"
tty: true
stdin_open: true
build:
context: ../dsBaseRpc
dockerfile: Dockerfile.dev
ports:
- 8001:8001
- 2345:2345
volumes:
- ../dsBaseRpc:/go/src
- ../dsBaseRpc/Config/Config.ini.docker:/go/src/Config/Config.ini
command: bash -c "cd /go/src && dlv debug --headless --listen=:2345 --api-version=2 --log main.go"