dorel14 / 3CX-Cdr-Tcp-Server

GNU General Public License v3.0
4 stars 3 forks source link

Problem with networking #32

Closed dorel14 closed 1 month ago

dorel14 commented 1 month ago
          So i did a new git clone, 

But now as soon as i do a docker-compose up the server stops responding to ping Creating network "3cx-cdr-tcp-server_default with the default driver then everything stops i can log in to the server terminal from the host where it seems "to work" but i cant confirme it.

Originally posted by @MrGlenn-tech in https://github.com/dorel14/3CX-Cdr-Tcp-Server/issues/27#issuecomment-2145183615

MrGlenn-tech commented 1 month ago

Solved that issue by adding this to the docker-compose file. since the standard network interfere with my current setup.

volumes:
  - grafana-storage:/var/lib/grafana
  - ./grafana_init/provisioning/:/etc/grafana/provisioning/
  - ./grafana_init/provisioning/dashboards/dashboard_files/:/var/lib/grafana/dashboards/
networks:
  - my_custom_network

`networks: my_custom_network: driver: bridge ipam: config:

dorel14 commented 1 month ago

Hello Nice to here , you found how to resolve it

I have made an enhancement so that it's easier to specify the subnet in .env with the items DOCKER_SUBNET and DOCKER_GATEWAY

Thx for the idea , i close the issue