Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 513 Bytes
version: "3"
services:
main:
image: vfarcic/go-demo${TAG}
environment:
- DB=db
networks:
- proxy
- default
deploy:
replicas: 3
update_config:
parallelism: 1
delay: 10s
labels:
- com.df.notify=true
- com.df.distribute=true
- com.df.servicePath=${SERVICE_PATH:-/demo}
- com.df.port=8080
db:
image: mongo
networks:
- default
networks:
default:
external: false
proxy:
external: true