nvidia tested and working, added options for web and api port in jenkinsfile
This commit is contained in:
@ -29,4 +29,5 @@ push_redis: {{ push_redis }}
|
||||
run_background : {{ run_background }}
|
||||
log_output: {{ log_output }}
|
||||
update_frequency: {{ update_frequency }}
|
||||
custom_api_port: {{ custom_api_port }}
|
||||
...
|
||||
@ -17,6 +17,7 @@ services:
|
||||
volumes:
|
||||
- "{{ service_control_web_folder }}/html:/usr/src/app/public"
|
||||
- "{{ service_control_web_folder }}/node_server:/app"
|
||||
- "{{ api_service_folder }}/cosmostat_settings.yaml:/app/cosmostat_settings.yaml:ro"
|
||||
- /app/node_modules
|
||||
ports:
|
||||
- "{{ docker_gateway }}:3000:3000"
|
||||
@ -33,6 +34,7 @@ services:
|
||||
- "{{ docker_gateway }}:8080:80"
|
||||
volumes:
|
||||
- ./html:/var/www/html/
|
||||
- "{{ api_service_folder }}/cosmostat_settings.yaml:/opt/api_settings/cosmostat_settings.yaml:ro"
|
||||
networks:
|
||||
- cosmostat_net
|
||||
restart: always
|
||||
@ -42,7 +44,7 @@ services:
|
||||
container_name: cosmostat_nginx_proxy
|
||||
image: nginx:latest
|
||||
ports:
|
||||
- "{{ (docker_gateway + ':') if not public_dashboard | bool else '' }}80:80"
|
||||
- "{{ (docker_gateway + ':') if not public_dashboard | bool else '' }}{{ custom_port }}:80"
|
||||
volumes:
|
||||
- ./proxy/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user