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