thanks @NobbZ
Changing the docker-compose.yml
to
version: '3.5'
services:
web:
image: "greek_coin:latest"
network_mode: host
ports:
- "80:80"
- "443:443"
env_file:
- docker.env
or (because of nework_mode: host)
version: '3.5'
services:
web:
image: "greek_coin:latest"
network_mode: host
ports:
- "80"
- "443"
env_file:
- docker.env
seem to make no difference !
the docker documentation also mentions:
ports
Expose ports.
Note
Port mapping is incompatible withnetwork_mode: host