sync for dev 033026
This commit is contained in:
35
templates/docker-compose-single.yaml
Normal file
35
templates/docker-compose-single.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
services:
|
||||
# cosmostat:
|
||||
# container_name: cosmostat
|
||||
# build:
|
||||
# context: .
|
||||
# dockerfile: Dockerfile
|
||||
# ports:
|
||||
# - "{{ docker_gateway }}:6379:6379"
|
||||
# - "{{ (docker_gateway + ':') if not public_dashboard | bool else '' }}{{ custom_port }}:80"
|
||||
# networks:
|
||||
# - cosmostat_net
|
||||
# restart: always
|
||||
|
||||
cosmostat_all:
|
||||
container_name: cosmostat_all
|
||||
image: cosmostat-all: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/cosmostat_settings.yaml:/app/cosmostat_settings.yaml:ro"
|
||||
|
||||
networks:
|
||||
cosmostat_net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user