netmaker/docker-compose.yml
2021-03-25 12:59:14 -04:00

36 lines
798 B
YAML

version: "3.3"
services:
mongodb:
image: mongo:4.2
ports:
- "27017:27017"
container_name: mongodb
volumes:
- mongovol:/data/db
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: mongoadmin
MONGO_INITDB_ROOT_PASSWORD: mongopass
netmaker:
container_name: netmaker
depends_on:
- mongodb
image: docker.pkg.github.com/gravitl/netmaker/netmaker:v0.1
ports:
- "8081:8081"
- "50051:50051"
environment:
MONGO_HOST: mongodb
restart: always
netmaker-ui:
container_name: netmaker-ui
depends_on:
- netmaker
image: docker.pkg.github.com/gravitl/netmaker-ui/netmaker-ui:v0.1
ports:
- "80:80"
environment:
BACKEND_URL: "http://localhost:8081"
volumes:
mongovol: {}