cosmostat has working drive health dashboard
This commit is contained in:
29
templates/docker-compose-vizz.yaml
Normal file
29
templates/docker-compose-vizz.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
name: mc-vizz
|
||||
services:
|
||||
|
||||
mx-vizz-dash:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: mc-vizz-dash
|
||||
image: mc-vizz-dash:latest
|
||||
restart: always
|
||||
networks:
|
||||
- cosmostat_net
|
||||
ports:
|
||||
# - "{{ docker_gateway }}:6379:6379"
|
||||
- "{{ mcvizz_web_port }}:80"
|
||||
# When the container is built in Ansible, these are all copied
|
||||
# if any changes are made manually on the endpoint, uncomment as needed
|
||||
#volumes:
|
||||
# - "/opt/cosmostat/api/cosmostat_settings.yaml:/app/cosmostat_settings.yaml:ro"
|
||||
# - "/opt/cosmostat/api/cosmostat_settings.yaml:/usr/src/app/cosmostat_settings.yaml:ro"
|
||||
# - "/opt/cosmostat/docker/web/html:/var/www/html"
|
||||
# - "/opt/cosmostat/docker/web/node_server:/app"
|
||||
#{{ (docker_gateway + ':') if not public_dashboard | bool else '' }}
|
||||
networks:
|
||||
cosmostat_net:
|
||||
external: true
|
||||
|
||||
...
|
||||
@ -1,5 +1,5 @@
|
||||
---
|
||||
|
||||
name: cosmostat
|
||||
services:
|
||||
|
||||
cosmostat-dash:
|
||||
|
||||
@ -5,6 +5,8 @@ After=network.target
|
||||
{{ extra_options }}
|
||||
|
||||
[Service]
|
||||
User={{ service_user }}
|
||||
Group={{ service_user }}
|
||||
WorkingDirectory={{ service_working_folder }}
|
||||
ExecStart={{ service_exe }}
|
||||
Restart=always
|
||||
|
||||
Reference in New Issue
Block a user