tdymel / LegacyPlayersV3

Official repository of LegacyPlayers v3
GNU Affero General Public License v3.0
18 stars 25 forks source link

[Docker] : "host" network_mode is incompatible with port_bindings #148

Closed gfriloux closed 3 years ago

gfriloux commented 3 years ago

Describe the bug It is not possible to use Environment/docker-compose.yml with recent docker versions because there is incompatible declarations:

    network_mode: host

Is incompatible with port binding declarations :

    ports:
    - '80:80'
    - '443:443'
    - '8080:8080'

Binding should be commented or removed (as i believe old versions ignore the bindings).

To Reproduce Steps to reproduce the behavior:

  1. cd Environment
  2. docker-compose up
  3. See docker error

Expected behavior Running configured containers should not fail

Desktop (please complete the following information):