2
0
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:
Oliver 2025-04-15 16:03:53 +10:00 committed by GitHub
parent 448d24de21
commit f3d804d5ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,11 @@
}
},
"runArgs": [
"-p",
"8000:8000"
],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": ".devcontainer/postCreateCommand.sh",

View File

@ -24,6 +24,8 @@ services:
volumes:
- ../:/home/inventree:z
- /tmp/.X11-unix:/tmp/.X11-unix
ports:
- 8000:8000
environment:
INVENTREE_DB_ENGINE: postgresql