netmaker/docker-compose.yml

37 lines
798 B
YAML
Raw Normal View History

2021-03-26 00:17:52 +08:00
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
2021-03-26 00:59:14 +08:00
netmaker:
container_name: netmaker
2021-03-26 00:17:52 +08:00
depends_on:
- mongodb
image: docker.pkg.github.com/gravitl/netmaker/netmaker:v0.1
ports:
- "8081:8081"
- "50051:50051"
environment:
MONGO_HOST: mongodb
restart: always
2021-03-26 00:59:14 +08:00
netmaker-ui:
container_name: netmaker-ui
2021-03-26 00:17:52 +08:00
depends_on:
2021-03-26 00:59:14 +08:00
- netmaker
2021-03-26 00:17:52 +08:00
image: docker.pkg.github.com/gravitl/netmaker-ui/netmaker-ui:v0.1
ports:
- "80:80"
environment:
BACKEND_URL: "http://localhost:8081"
volumes:
mongovol: {}