web dashboard in single container
This commit is contained in:
@ -3,21 +3,24 @@
|
||||
services:
|
||||
|
||||
cosmostat-dash:
|
||||
container_name: cosmostat-dash
|
||||
image: cosmostat-dash:latest
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: cosmostat-dash
|
||||
image: cosmostat-dash:latest
|
||||
restart: always
|
||||
networks:
|
||||
- cosmostat_net
|
||||
ports:
|
||||
- "{{ docker_gateway }}:6379:6379"
|
||||
- "{{ (docker_gateway + ':') if not public_dashboard | bool else '' }}{{ custom_port }}:80"
|
||||
volumes:
|
||||
# - "/opt/cosmostat/docker/web/html:/var/www/html"
|
||||
# - "/opt/cosmostat/docker/web/node_server:/app"
|
||||
- "/opt/cosmostat/api/cosmostat_settings.yaml:/app/cosmostat_settings.yaml:ro"
|
||||
# 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"
|
||||
|
||||
networks:
|
||||
cosmostat_net:
|
||||
|
||||
Reference in New Issue
Block a user