You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
466 B
YAML
18 lines
466 B
YAML
version: "3"
|
|
|
|
services:
|
|
dashboard:
|
|
image: xpunch/go-micro-dashboard:latest
|
|
container_name: micro-dashboard
|
|
ports:
|
|
- "8082:8082"
|
|
environment:
|
|
- MICRO_REGISTRY=etcd
|
|
- MICRO_REGISTRY_ADDRESS=etcd
|
|
- CONFIG_TYPE=yaml
|
|
- CONFIG_FILE=/etc/micro/dashboard.yaml
|
|
# default config type env
|
|
# - SERVER_AUTH_USERNAME=user
|
|
# - SERVER_AUTH_PASSWORD=pass
|
|
volumes:
|
|
- "./config.yaml:/etc/micro/dashboard.yaml" |