nvidia tested and working, added options for web and api port in jenkinsfile

This commit is contained in:
2026-03-19 00:30:12 -07:00
parent d7d2507d43
commit cf269b83af
11 changed files with 172 additions and 60 deletions

View File

@ -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: