feat: docker config for new frontend
This commit is contained in:
		
							parent
							
								
									c6eba5b51a
								
							
						
					
					
						commit
						bb2fa55cd5
					
				
					 9 changed files with 54 additions and 23 deletions
				
			
		|  | @ -1,4 +1,11 @@ | |||
| http:// { | ||||
| # Frontend and API | ||||
| http://localhost:80 { | ||||
|     reverse_proxy /api/* http://rate:5003 | ||||
|     reverse_proxy http://frontend:3000 | ||||
| } | ||||
| } | ||||
| 
 | ||||
| # prns.cc (profile URL shortener) | ||||
| http://localhost:81 { | ||||
|     rewrite * /sid{uri} | ||||
|     reverse_proxy http://backend:5000 | ||||
| } | ||||
|  |  | |||
							
								
								
									
										4
									
								
								docker/frontend.example.env
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								docker/frontend.example.env
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| PUBLIC_LANGUAGE=en | ||||
| PUBLIC_BASE_URL=https://pronouns.cc | ||||
| PUBLIC_SHORT_URL=https://prns.cc | ||||
| PUBLIC_API_BASE=https://pronouns.cc/api | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue