node-bulletin-board/docker-compose.yml
2017-11-21 11:06:41 +00:00

54 lines
939 B
YAML

version: '3.3'
services:
bb-db:
image: ${dockerId}/bulletin-board-db
build:
context: ./bulletin-board-db
networks:
- bb-net
bb-app:
image: ${dockerId}/bulletin-board-app
build:
context: ./bulletin-board-app
depends_on:
- bb-db
restart: on-failure
networks:
- bb-net
bb-proxy:
image: ${dockerId}/bulletin-board-proxy
build:
context: ./bulletin-board-proxy
ports:
- "80:80"
depends_on:
- bb-app
networks:
- bb-net
bb-metrics:
image: ${dockerId}/bulletin-board-metrics
build:
context: ./bulletin-board-metrics
depends_on:
- bb-app
networks:
- bb-net
bb-dashboard:
image: ${dockerId}/bulletin-board-dashboard
build:
context: ./bulletin-board-dashboard
ports:
- "3000:3000"
depends_on:
- bb-metrics
networks:
- bb-net
networks:
bb-net: