2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 02:55:41 +00:00

docker: prevent ports being exposed outside container context (#3351)

This commit is contained in:
Oliver
2022-07-18 14:08:33 +10:00
committed by GitHub
parent 7549d033df
commit f23cef0400
2 changed files with 5 additions and 6 deletions

View File

@ -22,7 +22,7 @@ services:
inventree-dev-db:
container_name: inventree-dev-db
image: postgres:13
ports:
expose:
- ${INVENTREE_DB_PORT:-5432}/tcp
environment:
- PGDATA=/var/lib/postgresql/data/dev/pgdb