fix port definitions

- docker-compose no longer accepts ports definitions when network_mode: host is set
- previous versions simply ignored the ports definitions, the updated docker-compose breaks with an error however
This commit is contained in:
t3chn0m4g3
2023-06-27 09:23:52 +00:00
parent c1808161e4
commit a0c5a8c0e7
11 changed files with 31 additions and 31 deletions

View File

@ -20,9 +20,9 @@ services:
# cpu_count: 1
# cpus: 0.75
network_mode: "host"
ports:
- "64297:64297"
- "127.0.0.1:64304:64304"
# ports:
# - "64297:64297"
# - "127.0.0.1:64304:64304"
image: "dtagdevsec/nginx:2204"
read_only: true
volumes: