Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
87 lines (76 sloc) 1.66 KB
version: '3.3'
services:
message-queue:
image: nats:nanoserver
networks:
- nd-net
elasticsearch:
image: sixeyed/elasticsearch:nanoserver
environment:
- ES_JAVA_OPTS=-Xms512m -Xmx512m
volumes:
- es-data:c:\data
networks:
- nd-net
nerd-dinner-db:
image: dockeronwindows/ch06-nerd-dinner-db
env_file:
- db-credentials.env
volumes:
- db-data:C:\data
networks:
- nd-net
kibana:
image: sixeyed/kibana:nanoserver
ports:
- "5601:5601"
depends_on:
- elasticsearch
networks:
- nd-net
nerd-dinner-save-handler:
image: dockeronwindows/ch05-nerd-dinner-save-handler
depends_on:
- nerd-dinner-db
- message-queue
env_file:
- db-credentials.env
networks:
- nd-net
nerd-dinner-index-handler:
image: dockeronwindows/ch05-nerd-dinner-index-handler
depends_on:
- elasticsearch
- message-queue
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
- MESSAGE_QUEUE_URL=nats://message-queue:4222
networks:
- nd-net
nerd-dinner-homepage:
image: dockeronwindows/ch03-nerd-dinner-homepage
networks:
- nd-net
nerd-dinner-web:
image: dockeronwindows/ch05-nerd-dinner-web
ports:
- "80:80"
environment:
- HOMEPAGE_URL=http://nerd-dinner-homepage
- MESSAGE_QUEUE_URL=nats://message-queue:4222
env_file:
- api-keys.env
- db-credentials.env
depends_on:
- nerd-dinner-homepage
- nerd-dinner-db
- message-queue
networks:
- nd-net
networks:
nd-net:
external:
name: nat
volumes:
es-data:
db-data: