Improve startup message. Use host.docker.internal for local apps development

This commit is contained in:
cruizba 2024-03-17 21:33:14 +01:00
parent eeb62af0c6
commit a22a0175be
2 changed files with 8 additions and 4 deletions

View File

@ -1,10 +1,8 @@
services:
app:
default-app:
image: docker.io/wcm65pck/openvidu-call-demo:main
container_name: openvidu-call
restart: on-failure
ports:
- 5442:5442
environment:
- SERVER_PORT=5442
- USE_TLS=${USE_TLS:-?}

View File

@ -4,6 +4,8 @@ services:
image: docker.io/wcm65pck/openvidu-caddy-local:main
container_name: caddy-proxy
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- LOCAL_DOMAIN=${LOCAL_DOMAIN:-?}
- USE_TLS=${USE_TLS:-?}
@ -17,6 +19,7 @@ services:
ports:
- 4443:4443
- 9000:9000
- 8000:8000
redis:
image: redis:7.2.4-alpine
@ -164,7 +167,10 @@ services:
URL=\$(echo \$$URL | sed 's/https/http/')
fi
sleep 10
for i in $(seq 1 10); do
echo 'Starting OpenVidu... Please be patient...'
sleep 1
done;
echo ''
echo ''
echo '------------------------'