Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save foxish/02cae9ca5b7074195dd131efe8a5c46b to your computer and use it in GitHub Desktop.
Save foxish/02cae9ca5b7074195dd131efe8a5c46b to your computer and use it in GitHub Desktop.
Docker compose file for ZooNavigator with Zookeeper
version: '2.1'
services:
web:
image: elkozmon/zoonavigator-web:latest
container_name: zoonavigator-web
ports:
- "8000:8000"
environment:
API_HOST: "api"
API_PORT: 9000
depends_on:
- api
restart: always
api:
image: elkozmon/zoonavigator-api:latest
container_name: zoonavigator-api
environment:
SERVER_HTTP_PORT: 9000
depends_on:
- zookeeper
restart: always
zookeeper:
image: zookeeper:3.5
container_name: zookeeper
ports:
- "2181:2181"
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment