local docker dev + starting on gameplay
This commit is contained in:
@@ -5,7 +5,10 @@ services:
|
||||
dockerfile: Dockerfile.dev
|
||||
volumes:
|
||||
- .:/app
|
||||
command: air --build.cmd "go build -o /tmp/api ./cmd/api" --build.entrypoint "/tmp/api"
|
||||
command: air --misc.startup_banner "====== fishin' 🎣 ======" --build.cmd "go build -o /tmp/server ./cmd/server" --build.entrypoint "/tmp/server"
|
||||
ports:
|
||||
- "9900:9900"
|
||||
- "2222:22"
|
||||
db:
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
Reference in New Issue
Block a user