Omit race conditions and update swarm info events
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
version: '2'
|
||||
services:
|
||||
web:
|
||||
pwd:
|
||||
# pwd daemon container always needs to be named this way
|
||||
container_name: pwd
|
||||
# use the latest golang image
|
||||
image: golang
|
||||
# go to the right place and starts the app
|
||||
command: /bin/sh -c 'cd /go/src/github.com/franela/play-with-docker; go run api.go'
|
||||
command: /bin/sh -c 'cd /go/src/github.com/franela/play-with-docker; go run -race api.go'
|
||||
ports:
|
||||
# app exposes port 3000
|
||||
- "3000:3000"
|
||||
|
||||
Reference in New Issue
Block a user