mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	| @@ -38,11 +38,17 @@ | ||||
|   }, | ||||
|  | ||||
|   // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||||
|   "forwardPorts": [5173, 8000, 8080], | ||||
|   "forwardPorts": [5173, 5432, 6379, 8000, 8080], | ||||
|   "portsAttributes": { | ||||
|     "5173": { | ||||
|       "label": "Vite Server" | ||||
|     }, | ||||
|     "5432": { | ||||
|       "label": "PostgreSQL Database" | ||||
|     }, | ||||
|     "6379": { | ||||
|       "label": "Redis Server" | ||||
|     }, | ||||
|     "8000": { | ||||
|       "label": "InvenTree Server" | ||||
|     }, | ||||
|   | ||||
| @@ -2,7 +2,7 @@ services: | ||||
|   db: | ||||
|     image: postgres:15 | ||||
|     restart: unless-stopped | ||||
|     expose: | ||||
|     ports: | ||||
|       - 5432/tcp | ||||
|     volumes: | ||||
|       - ../dev-db/:/var/lib/postgresql/data:z | ||||
| @@ -14,7 +14,7 @@ services: | ||||
|   redis: | ||||
|     image: redis:7.0 | ||||
|     restart: always | ||||
|     expose: | ||||
|     ports: | ||||
|       - 6379 | ||||
|  | ||||
|   inventree: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user