fix: hardcode NODE_ENV to production
This commit is contained in:
		
							parent
							
								
									bc70013ff0
								
							
						
					
					
						commit
						d18be4b8d7
					
				|  | @ -93,14 +93,6 @@ | ||||||
|             "min": 1, |             "min": 1, | ||||||
|             "max": 1024, |             "max": 1024, | ||||||
|             "env_variable": "EMAIL_SERVER_PASSWORD" |             "env_variable": "EMAIL_SERVER_PASSWORD" | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|             "type": "text", |  | ||||||
|             "label": "Node.js environment type (production, development, test)", |  | ||||||
|             "required": true, |  | ||||||
|             "min": 1, |  | ||||||
|             "max": 1024, |  | ||||||
|             "env_variable": "CALCOM_NODE_ENV" |  | ||||||
|         } |         } | ||||||
|     ] |     ] | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -29,7 +29,7 @@ services: | ||||||
|       - EMAIL_SERVER_HOST=${EMAIL_SERVER_HOST} |       - EMAIL_SERVER_HOST=${EMAIL_SERVER_HOST} | ||||||
|       - EMAIL_SERVER_PORT=${EMAIL_SERVER_PORT} |       - EMAIL_SERVER_PORT=${EMAIL_SERVER_PORT} | ||||||
|       - EMAIL_SERVER_PASSWORD=${EMAIL_SERVER_PASSWORD} |       - EMAIL_SERVER_PASSWORD=${EMAIL_SERVER_PASSWORD} | ||||||
|       - NODE_ENV={CALCOM_NODE_ENV} |       - NODE_ENV=production | ||||||
|     labels: |     labels: | ||||||
|       # Main |       # Main | ||||||
|       traefik.enable: true |       traefik.enable: true | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Sturdy
						Sturdy