mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
Expose ports to outside network (#9509)
- Allows other devices to connect by default
This commit is contained in:
parent
448d24de21
commit
f3d804d5ea
@ -51,6 +51,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"runArgs": [
|
||||||
|
"-p",
|
||||||
|
"8000:8000"
|
||||||
|
],
|
||||||
|
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
"postCreateCommand": ".devcontainer/postCreateCommand.sh",
|
"postCreateCommand": ".devcontainer/postCreateCommand.sh",
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ../:/home/inventree:z
|
- ../:/home/inventree:z
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix
|
- /tmp/.X11-unix:/tmp/.X11-unix
|
||||||
|
ports:
|
||||||
|
- 8000:8000
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
INVENTREE_DB_ENGINE: postgresql
|
INVENTREE_DB_ENGINE: postgresql
|
||||||
|
Loading…
x
Reference in New Issue
Block a user