Fixed IP on coturn

This commit is contained in:
root 2023-08-29 21:44:41 +00:00
parent 3460be4852
commit e44f0f53f2

View File

@ -27,7 +27,7 @@ services:
restart: always restart: always
networks: networks:
federated: federated:
ipv4_address: 172.99.0.34 ipv4_address: 172.99.0.35
env_file: env_file:
- ./.env - ./.env
volumes: volumes:
@ -80,7 +80,7 @@ echo -ne "done."
} }
start_coturn() { start_coturn() {
# Start service with command to make sure it's up before proceeding # Start service with command to make sure it's up before proceeding
start_service "coturn" "nc -z 172.99.0.34 3478 &> /dev/null" "7" start_service "coturn" "nc -z 172.99.0.35 3478 &> /dev/null" "7"
kill -9 $SPINPID &> /dev/null kill -9 $SPINPID &> /dev/null
echo -ne "done." echo -ne "done."