Make frontend nginx conf suitable for k8s or local deployment (no need for 'old' deployment bits)

This commit is contained in:
James Wilson
2021-08-14 11:57:52 +01:00
parent 8793d0fd5b
commit 53f7769146
7 changed files with 12 additions and 112 deletions
+1 -8
View File
@@ -5,15 +5,8 @@ services:
build:
dockerfile: Dockerfile
context: ./frontend/
# Copy in changes to the ui, so no need to rebuild the images.
volumes:
- /app/node_modules
- ./packages:/app/packages
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/default:/etc/nginx/sites-available/default
- ./env-config.js:/usr/share/nginx/html/env-config.js
ports:
- 3000:80
- 3000:8000
expose:
- 3000
telemetry-backend-shard: