26 lines
636 B
YAML
26 lines
636 B
YAML
---
|
|
|
|
services:
|
|
|
|
cosmostat-dash:
|
|
container_name: cosmostat-dash
|
|
image: cosmostat-dash:latest
|
|
restart: always
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
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"
|
|
|
|
networks:
|
|
cosmostat_net:
|
|
external: true
|
|
|
|
... |