mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: local-meet - Refactor environment variable definitions in docker-compose files for consistency and flexibility
parent
f8e904a08d
commit
fdbb9dd87b
|
@ -131,7 +131,7 @@ services:
|
||||||
enabled: true
|
enabled: true
|
||||||
interval: 10s
|
interval: 10s
|
||||||
expiration: 768h # 32 days
|
expiration: 768h # 32 days
|
||||||
mongo_url: mongodb://mongoadmin:mongoadmin@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
mongo_url: mongodb://${MONGO_ADMIN_USERNAME:-mongoadmin}:${MONGO_ADMIN_PASSWORD:-mongoadmin}@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
||||||
|
|
||||||
# LiveKit configuration
|
# LiveKit configuration
|
||||||
port: 7880
|
port: 7880
|
||||||
|
@ -144,7 +144,7 @@ services:
|
||||||
redis:
|
redis:
|
||||||
address: redis:6379
|
address: redis:6379
|
||||||
username: ""
|
username: ""
|
||||||
password: redispassword
|
password: ${REDIS_PASSWORD:-redispassword}
|
||||||
db: 0
|
db: 0
|
||||||
use_tls: false
|
use_tls: false
|
||||||
turn:
|
turn:
|
||||||
|
@ -153,9 +153,9 @@ services:
|
||||||
relay_range_start: 40000
|
relay_range_start: 40000
|
||||||
relay_range_end: 50000
|
relay_range_end: 50000
|
||||||
keys:
|
keys:
|
||||||
devkey: secret
|
${LIVEKIT_API_KEY:-devkey}: ${LIVEKIT_API_SECRET:-secret}
|
||||||
webhook:
|
webhook:
|
||||||
api_key: devkey
|
api_key: ${LIVEKIT_API_KEY:-devkey}
|
||||||
urls:
|
urls:
|
||||||
- http://host.docker.internal:6080/livekit/webhook
|
- http://host.docker.internal:6080/livekit/webhook
|
||||||
- http://openvidu-meet:6080/livekit/webhook
|
- http://openvidu-meet:6080/livekit/webhook
|
||||||
|
@ -176,11 +176,11 @@ services:
|
||||||
redis:
|
redis:
|
||||||
address: redis:6379
|
address: redis:6379
|
||||||
username: ""
|
username: ""
|
||||||
password: redispassword
|
password: ${REDIS_PASSWORD:-redispassword}
|
||||||
db: 0
|
db: 0
|
||||||
use_tls: false
|
use_tls: false
|
||||||
api_key: devkey
|
api_key: ${LIVEKIT_API_KEY:-devkey}
|
||||||
api_secret: secret
|
api_secret: ${LIVEKIT_API_SECRET:-secret}
|
||||||
ws_url: ws://openvidu:7880
|
ws_url: ws://openvidu:7880
|
||||||
rtmp_port: 1935
|
rtmp_port: 1935
|
||||||
whip_port: 8085
|
whip_port: 8085
|
||||||
|
@ -196,11 +196,11 @@ services:
|
||||||
redis:
|
redis:
|
||||||
address: redis:6379
|
address: redis:6379
|
||||||
username: ""
|
username: ""
|
||||||
password: redispassword
|
password: ${REDIS_PASSWORD:-redispassword}
|
||||||
db: 0
|
db: 0
|
||||||
use_tls: false
|
use_tls: false
|
||||||
api_key: devkey
|
api_key: ${LIVEKIT_API_KEY:-devkey}
|
||||||
api_secret: secret
|
api_secret: ${LIVEKIT_API_SECRET:-secret}
|
||||||
ws_url: ws://openvidu:7880
|
ws_url: ws://openvidu:7880
|
||||||
health_port: 9091
|
health_port: 9091
|
||||||
|
|
||||||
|
@ -211,8 +211,8 @@ services:
|
||||||
# Storage for recordings.
|
# Storage for recordings.
|
||||||
storage:
|
storage:
|
||||||
s3:
|
s3:
|
||||||
access_key: minioadmin
|
access_key: ${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
secret: minioadmin
|
secret: ${MINIO_SECRET_KEY:-minioadmin}
|
||||||
# Default region for minio
|
# Default region for minio
|
||||||
region: us-east-1
|
region: us-east-1
|
||||||
endpoint: http://minio:9000
|
endpoint: http://minio:9000
|
||||||
|
|
|
@ -9,15 +9,15 @@ services:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
environment:
|
environment:
|
||||||
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- DASHBOARD_ADMIN_USERNAME=admin
|
- DASHBOARD_ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME:-admin}
|
||||||
- DASHBOARD_ADMIN_PASSWORD=admin
|
- DASHBOARD_ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD:-admin}
|
||||||
- MINIO_ACCESS_KEY=minioadmin
|
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MINIO_SECRET_KEY=minioadmin
|
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- MEET_INITIAL_ADMIN_USER=admin
|
- MEET_INITIAL_ADMIN_USER=${MEET_INITIAL_ADMIN_USER:-admin}
|
||||||
- MEET_INITIAL_ADMIN_PASSWORD=admin
|
- MEET_INITIAL_ADMIN_PASSWORD=${MEET_INITIAL_ADMIN_PASSWORD:-admin}
|
||||||
- MEET_INITIAL_API_KEY=meet-api-key
|
- MEET_INITIAL_API_KEY=${MEET_INITIAL_API_KEY:-meet-api-key}
|
||||||
volumes:
|
volumes:
|
||||||
- scripts:/scripts
|
- scripts:/scripts
|
||||||
entrypoint: /bin/sh /scripts/entrypoint_caddy.sh
|
entrypoint: /bin/sh /scripts/entrypoint_caddy.sh
|
||||||
|
@ -43,7 +43,7 @@ services:
|
||||||
command: >
|
command: >
|
||||||
redis-server
|
redis-server
|
||||||
--bind 0.0.0.0
|
--bind 0.0.0.0
|
||||||
--requirepass redispassword
|
--requirepass ${REDIS_PASSWORD:-redispassword}
|
||||||
depends_on:
|
depends_on:
|
||||||
setup:
|
setup:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
@ -56,8 +56,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- 9000:9000
|
||||||
environment:
|
environment:
|
||||||
- MINIO_ROOT_USER=minioadmin
|
- MINIO_ROOT_USER=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MINIO_ROOT_PASSWORD=minioadmin
|
- MINIO_ROOT_PASSWORD=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- MINIO_DEFAULT_BUCKETS=openvidu-appdata
|
- MINIO_DEFAULT_BUCKETS=openvidu-appdata
|
||||||
- MINIO_CONSOLE_SUBPATH=/minio-console
|
- MINIO_CONSOLE_SUBPATH=/minio-console
|
||||||
- MINIO_BROWSER_REDIRECT_URL=http://localhost:7880/minio-console
|
- MINIO_BROWSER_REDIRECT_URL=http://localhost:7880/minio-console
|
||||||
|
@ -78,8 +78,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- mongo-data:/bitnami/mongodb
|
- mongo-data:/bitnami/mongodb
|
||||||
environment:
|
environment:
|
||||||
- MONGODB_ROOT_USER=mongoadmin
|
- MONGODB_ROOT_USER=${MONGO_ADMIN_USERNAME:-mongoadmin}
|
||||||
- MONGODB_ROOT_PASSWORD=mongoadmin
|
- MONGODB_ROOT_PASSWORD=${MONGO_ADMIN_PASSWORD:-mongoadmin}
|
||||||
- MONGODB_ADVERTISED_HOSTNAME=mongo
|
- MONGODB_ADVERTISED_HOSTNAME=mongo
|
||||||
- MONGODB_REPLICA_SET_MODE=primary
|
- MONGODB_REPLICA_SET_MODE=primary
|
||||||
- MONGODB_REPLICA_SET_NAME=rs0
|
- MONGODB_REPLICA_SET_NAME=rs0
|
||||||
|
@ -96,9 +96,9 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- SERVER_PORT=5000
|
- SERVER_PORT=5000
|
||||||
- ADMIN_USERNAME=admin
|
- ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME:-admin}
|
||||||
- ADMIN_PASSWORD=admin
|
- ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD:-admin}
|
||||||
- DATABASE_URL=mongodb://mongoadmin:mongoadmin@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
- DATABASE_URL=mongodb://${MONGO_ADMIN_USERNAME:-mongoadmin}:${MONGO_ADMIN_PASSWORD:-mongoadmin}@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
||||||
depends_on:
|
depends_on:
|
||||||
setup:
|
setup:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
@ -177,10 +177,10 @@ services:
|
||||||
- NETWORK_NAME=openvidu-community
|
- NETWORK_NAME=openvidu-community
|
||||||
- AGENTS_CONFIG_VOLUME=openvidu-agents-config
|
- AGENTS_CONFIG_VOLUME=openvidu-agents-config
|
||||||
- LIVEKIT_URL=ws://openvidu:7880/
|
- LIVEKIT_URL=ws://openvidu:7880/
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- REDIS_ADDRESS=redis:6379
|
- REDIS_ADDRESS=redis:6379
|
||||||
- REDIS_PASSWORD=redispassword
|
- REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword}
|
||||||
depends_on:
|
depends_on:
|
||||||
setup:
|
setup:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
@ -199,25 +199,25 @@ services:
|
||||||
- SERVER_PORT=6080
|
- SERVER_PORT=6080
|
||||||
- MEET_LOG_LEVEL=info
|
- MEET_LOG_LEVEL=info
|
||||||
- MEET_NAME_ID=openviduMeet-LOCAL
|
- MEET_NAME_ID=openviduMeet-LOCAL
|
||||||
- MEET_INITIAL_API_KEY=meet-api-key
|
- MEET_INITIAL_API_KEY=${MEET_INITIAL_API_KEY:-meet-api-key}
|
||||||
- MEET_INITIAL_ADMIN_USER=admin
|
- MEET_INITIAL_ADMIN_USER=${MEET_INITIAL_ADMIN_USER:-admin}
|
||||||
- MEET_INITIAL_ADMIN_PASSWORD=admin
|
- MEET_INITIAL_ADMIN_PASSWORD=${MEET_INITIAL_ADMIN_PASSWORD:-admin}
|
||||||
- MEET_COOKIE_SECURE=false
|
- MEET_COOKIE_SECURE=false
|
||||||
- MEET_INITIAL_WEBHOOK_ENABLED=true
|
- MEET_INITIAL_WEBHOOK_ENABLED=true
|
||||||
- MEET_INITIAL_WEBHOOK_URL=http://host.docker.internal:5080/webhook
|
- MEET_INITIAL_WEBHOOK_URL=http://host.docker.internal:5080/webhook
|
||||||
- LIVEKIT_URL_PRIVATE=ws://openvidu:7880/
|
- LIVEKIT_URL_PRIVATE=ws://openvidu:7880/
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- MEET_S3_BUCKET=openvidu-appdata
|
- MEET_S3_BUCKET=openvidu-appdata
|
||||||
- MEET_S3_SUBBUCKET=openvidu-meet
|
- MEET_S3_SUBBUCKET=openvidu-meet
|
||||||
- MEET_S3_SERVICE_ENDPOINT=http://minio:9000
|
- MEET_S3_SERVICE_ENDPOINT=http://minio:9000
|
||||||
- MEET_S3_ACCESS_KEY=minioadmin
|
- MEET_S3_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MEET_S3_SECRET_KEY=minioadmin
|
- MEET_S3_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- MEET_AWS_REGION=us-east-1
|
- MEET_AWS_REGION=us-east-1
|
||||||
- MEET_S3_WITH_PATH_STYLE_ACCESS=true
|
- MEET_S3_WITH_PATH_STYLE_ACCESS=true
|
||||||
- MEET_REDIS_HOST=redis
|
- MEET_REDIS_HOST=redis
|
||||||
- MEET_REDIS_PORT=6379
|
- MEET_REDIS_PORT=6379
|
||||||
- MEET_REDIS_PASSWORD=redispassword
|
- MEET_REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword}
|
||||||
- MEET_REDIS_DB=0
|
- MEET_REDIS_DB=0
|
||||||
volumes:
|
volumes:
|
||||||
- scripts:/scripts
|
- scripts:/scripts
|
||||||
|
@ -235,15 +235,15 @@ services:
|
||||||
- MODE=local-ready-check
|
- MODE=local-ready-check
|
||||||
- OPENVIDU_ENVIRONMENT=local-meet
|
- OPENVIDU_ENVIRONMENT=local-meet
|
||||||
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
||||||
- DASHBOARD_ADMIN_USERNAME=admin
|
- DASHBOARD_ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME:-admin}
|
||||||
- DASHBOARD_ADMIN_PASSWORD=admin
|
- DASHBOARD_ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD:-admin}
|
||||||
- MINIO_ACCESS_KEY=minioadmin
|
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MINIO_SECRET_KEY=minioadmin
|
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- MEET_INITIAL_ADMIN_USER=admin
|
- MEET_INITIAL_ADMIN_USER=${MEET_INITIAL_ADMIN_USER:-admin}
|
||||||
- MEET_INITIAL_ADMIN_PASSWORD=admin
|
- MEET_INITIAL_ADMIN_PASSWORD=${MEET_INITIAL_ADMIN_PASSWORD:-admin}
|
||||||
- MEET_INITIAL_API_KEY=meet-api-key
|
- MEET_INITIAL_API_KEY=${MEET_INITIAL_API_KEY:-meet-api-key}
|
||||||
volumes:
|
volumes:
|
||||||
- scripts:/scripts
|
- scripts:/scripts
|
||||||
entrypoint: /bin/sh /scripts/entrypoint_ready_check.sh
|
entrypoint: /bin/sh /scripts/entrypoint_ready_check.sh
|
||||||
|
|
|
@ -148,11 +148,11 @@ services:
|
||||||
enabled: true
|
enabled: true
|
||||||
interval: 10s
|
interval: 10s
|
||||||
expiration: 768h # 32 days
|
expiration: 768h # 32 days
|
||||||
mongo_url: mongodb://mongoadmin:mongoadmin@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
mongo_url: mongodb://${MONGO_ADMIN_USERNAME:-mongoadmin}:${MONGO_ADMIN_PASSWORD:-mongoadmin}@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
||||||
rtc:
|
rtc:
|
||||||
# WebRTC engine selection
|
# WebRTC engine selection
|
||||||
# Values: pion, mediasoup
|
# Values: pion, mediasoup
|
||||||
engine: pion
|
engine: ${RTC_ENGINE:-pion}
|
||||||
mediasoup:
|
mediasoup:
|
||||||
# Global toggle to enable debugging logs from mediasoup.
|
# Global toggle to enable debugging logs from mediasoup.
|
||||||
# In most debugging cases, using just an asterisk ("*") here is enough,
|
# In most debugging cases, using just an asterisk ("*") here is enough,
|
||||||
|
@ -185,7 +185,7 @@ services:
|
||||||
redis:
|
redis:
|
||||||
address: redis:6379
|
address: redis:6379
|
||||||
username: ""
|
username: ""
|
||||||
password: redispassword
|
password: ${REDIS_PASSWORD:-redispassword}
|
||||||
db: 0
|
db: 0
|
||||||
use_tls: false
|
use_tls: false
|
||||||
turn:
|
turn:
|
||||||
|
@ -194,9 +194,9 @@ services:
|
||||||
relay_range_start: 40000
|
relay_range_start: 40000
|
||||||
relay_range_end: 50000
|
relay_range_end: 50000
|
||||||
keys:
|
keys:
|
||||||
devkey: secret
|
${LIVEKIT_API_KEY:-devkey}: ${LIVEKIT_API_SECRET:-secret}
|
||||||
webhook:
|
webhook:
|
||||||
api_key: devkey
|
api_key: ${LIVEKIT_API_KEY:-devkey}
|
||||||
urls:
|
urls:
|
||||||
- http://host.docker.internal:4443/livekit/webhook # For OpenVidu 2 compatibility
|
- http://host.docker.internal:4443/livekit/webhook # For OpenVidu 2 compatibility
|
||||||
- http://host.docker.internal:6080/livekit/webhook
|
- http://host.docker.internal:6080/livekit/webhook
|
||||||
|
@ -219,11 +219,11 @@ services:
|
||||||
redis:
|
redis:
|
||||||
address: redis:6379
|
address: redis:6379
|
||||||
username: ""
|
username: ""
|
||||||
password: redispassword
|
password: ${REDIS_PASSWORD:-redispassword}
|
||||||
db: 0
|
db: 0
|
||||||
use_tls: false
|
use_tls: false
|
||||||
api_key: devkey
|
api_key: ${LIVEKIT_API_KEY:-devkey}
|
||||||
api_secret: secret
|
api_secret: ${LIVEKIT_API_SECRET:-secret}
|
||||||
ws_url: ws://openvidu:7880
|
ws_url: ws://openvidu:7880
|
||||||
rtmp_port: 1935
|
rtmp_port: 1935
|
||||||
whip_port: 8085
|
whip_port: 8085
|
||||||
|
@ -239,11 +239,11 @@ services:
|
||||||
redis:
|
redis:
|
||||||
address: redis:6379
|
address: redis:6379
|
||||||
username: ""
|
username: ""
|
||||||
password: redispassword
|
password: ${REDIS_PASSWORD:-redispassword}
|
||||||
db: 0
|
db: 0
|
||||||
use_tls: false
|
use_tls: false
|
||||||
api_key: devkey
|
api_key: ${LIVEKIT_API_KEY:-devkey}
|
||||||
api_secret: secret
|
api_secret: ${LIVEKIT_API_SECRET:-secret}
|
||||||
ws_url: ws://openvidu:7880
|
ws_url: ws://openvidu:7880
|
||||||
health_port: 9091
|
health_port: 9091
|
||||||
|
|
||||||
|
@ -254,8 +254,8 @@ services:
|
||||||
# Storage for recordings.
|
# Storage for recordings.
|
||||||
storage:
|
storage:
|
||||||
s3:
|
s3:
|
||||||
access_key: minioadmin
|
access_key: ${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
secret: minioadmin
|
secret: ${MINIO_SECRET_KEY:-minioadmin}
|
||||||
# Default region for minio
|
# Default region for minio
|
||||||
region: us-east-1
|
region: us-east-1
|
||||||
endpoint: http://minio:9000
|
endpoint: http://minio:9000
|
||||||
|
|
|
@ -8,16 +8,16 @@ services:
|
||||||
- host.docker.internal:host-gateway
|
- host.docker.internal:host-gateway
|
||||||
environment:
|
environment:
|
||||||
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- DASHBOARD_ADMIN_USERNAME=admin
|
- DASHBOARD_ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME:-admin}
|
||||||
- DASHBOARD_ADMIN_PASSWORD=admin
|
- DASHBOARD_ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD:-admin}
|
||||||
- MINIO_ACCESS_KEY=minioadmin
|
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MINIO_SECRET_KEY=minioadmin
|
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- V2COMPAT_OPENVIDU_SECRET=secret
|
- V2COMPAT_OPENVIDU_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- MEET_INITIAL_ADMIN_USER=admin
|
- MEET_INITIAL_ADMIN_USER=${MEET_INITIAL_ADMIN_USER:-admin}
|
||||||
- MEET_INITIAL_ADMIN_PASSWORD=admin
|
- MEET_INITIAL_ADMIN_PASSWORD=${MEET_INITIAL_ADMIN_PASSWORD:-admin}
|
||||||
- MEET_INITIAL_API_KEY=meet-api-key
|
- MEET_INITIAL_API_KEY=${MEET_INITIAL_API_KEY:-meet-api-key}
|
||||||
volumes:
|
volumes:
|
||||||
- scripts:/scripts
|
- scripts:/scripts
|
||||||
entrypoint: /bin/sh /scripts/entrypoint_caddy.sh
|
entrypoint: /bin/sh /scripts/entrypoint_caddy.sh
|
||||||
|
@ -43,7 +43,7 @@ services:
|
||||||
command: >
|
command: >
|
||||||
redis-server
|
redis-server
|
||||||
--bind 0.0.0.0
|
--bind 0.0.0.0
|
||||||
--requirepass redispassword
|
--requirepass ${REDIS_PASSWORD:-redispassword}
|
||||||
depends_on:
|
depends_on:
|
||||||
setup:
|
setup:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
@ -56,8 +56,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 9000:9000
|
- 9000:9000
|
||||||
environment:
|
environment:
|
||||||
- MINIO_ROOT_USER=minioadmin
|
- MINIO_ROOT_USER=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MINIO_ROOT_PASSWORD=minioadmin
|
- MINIO_ROOT_PASSWORD=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- MINIO_DEFAULT_BUCKETS=openvidu-appdata
|
- MINIO_DEFAULT_BUCKETS=openvidu-appdata
|
||||||
- MINIO_CONSOLE_SUBPATH=/minio-console
|
- MINIO_CONSOLE_SUBPATH=/minio-console
|
||||||
- MINIO_BROWSER_REDIRECT_URL=http://localhost:7880/minio-console
|
- MINIO_BROWSER_REDIRECT_URL=http://localhost:7880/minio-console
|
||||||
|
@ -78,8 +78,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- mongo-data:/bitnami/mongodb
|
- mongo-data:/bitnami/mongodb
|
||||||
environment:
|
environment:
|
||||||
- MONGODB_ROOT_USER=mongoadmin
|
- MONGODB_ROOT_USER=${MONGO_ADMIN_USERNAME:-mongoadmin}
|
||||||
- MONGODB_ROOT_PASSWORD=mongoadmin
|
- MONGODB_ROOT_PASSWORD=${MONGO_ADMIN_PASSWORD:-mongoadmin}
|
||||||
- MONGODB_ADVERTISED_HOSTNAME=mongo
|
- MONGODB_ADVERTISED_HOSTNAME=mongo
|
||||||
- MONGODB_REPLICA_SET_MODE=primary
|
- MONGODB_REPLICA_SET_MODE=primary
|
||||||
- MONGODB_REPLICA_SET_NAME=rs0
|
- MONGODB_REPLICA_SET_NAME=rs0
|
||||||
|
@ -96,9 +96,9 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- SERVER_PORT=5000
|
- SERVER_PORT=5000
|
||||||
- ADMIN_USERNAME=admin
|
- ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME:-admin}
|
||||||
- ADMIN_PASSWORD=admin
|
- ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD:-admin}
|
||||||
- DATABASE_URL=mongodb://mongoadmin:mongoadmin@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
- DATABASE_URL=mongodb://${MONGO_ADMIN_USERNAME:-mongoadmin}:${MONGO_ADMIN_PASSWORD:-mongoadmin}@mongo:27017/?replicaSet=rs0&readPreference=primaryPreferred
|
||||||
depends_on:
|
depends_on:
|
||||||
setup:
|
setup:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
|
@ -176,25 +176,25 @@ services:
|
||||||
- SERVER_PORT=6080
|
- SERVER_PORT=6080
|
||||||
- MEET_LOG_LEVEL=info
|
- MEET_LOG_LEVEL=info
|
||||||
- MEET_NAME_ID=openviduMeet-LOCAL
|
- MEET_NAME_ID=openviduMeet-LOCAL
|
||||||
- MEET_INITIAL_API_KEY=meet-api-key
|
- MEET_INITIAL_API_KEY=${MEET_INITIAL_API_KEY:-meet-api-key}
|
||||||
- MEET_INITIAL_ADMIN_USER=admin
|
- MEET_INITIAL_ADMIN_USER=${MEET_INITIAL_ADMIN_USER:-admin}
|
||||||
- MEET_INITIAL_ADMIN_PASSWORD=admin
|
- MEET_INITIAL_ADMIN_PASSWORD=${MEET_INITIAL_ADMIN_PASSWORD:-admin}
|
||||||
- MEET_COOKIE_SECURE=false
|
- MEET_COOKIE_SECURE=false
|
||||||
- MEET_INITIAL_WEBHOOK_ENABLED=true
|
- MEET_INITIAL_WEBHOOK_ENABLED=true
|
||||||
- MEET_INITIAL_WEBHOOK_URL=http://host.docker.internal:5080/webhook
|
- MEET_INITIAL_WEBHOOK_URL=http://host.docker.internal:5080/webhook
|
||||||
- LIVEKIT_URL_PRIVATE=ws://openvidu:7880/
|
- LIVEKIT_URL_PRIVATE=ws://openvidu:7880/
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- MEET_S3_BUCKET=openvidu-appdata
|
- MEET_S3_BUCKET=openvidu-appdata
|
||||||
- MEET_S3_SUBBUCKET=openvidu-meet
|
- MEET_S3_SUBBUCKET=openvidu-meet
|
||||||
- MEET_S3_SERVICE_ENDPOINT=http://minio:9000
|
- MEET_S3_SERVICE_ENDPOINT=http://minio:9000
|
||||||
- MEET_S3_ACCESS_KEY=minioadmin
|
- MEET_S3_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MEET_S3_SECRET_KEY=minioadmin
|
- MEET_S3_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- MEET_AWS_REGION=us-east-1
|
- MEET_AWS_REGION=us-east-1
|
||||||
- MEET_S3_WITH_PATH_STYLE_ACCESS=true
|
- MEET_S3_WITH_PATH_STYLE_ACCESS=true
|
||||||
- MEET_REDIS_HOST=redis
|
- MEET_REDIS_HOST=redis
|
||||||
- MEET_REDIS_PORT=6379
|
- MEET_REDIS_PORT=6379
|
||||||
- MEET_REDIS_PASSWORD=redispassword
|
- MEET_REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword}
|
||||||
- MEET_REDIS_DB=0
|
- MEET_REDIS_DB=0
|
||||||
volumes:
|
volumes:
|
||||||
- scripts:/scripts
|
- scripts:/scripts
|
||||||
|
@ -216,20 +216,20 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
||||||
- V2COMPAT_OPENVIDU_SHIM_PORT=4443
|
- V2COMPAT_OPENVIDU_SHIM_PORT=4443
|
||||||
- V2COMPAT_OPENVIDU_SECRET=secret
|
- V2COMPAT_OPENVIDU_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- V2COMPAT_LIVEKIT_URL_PRIVATE=ws://openvidu:7880
|
- V2COMPAT_LIVEKIT_URL_PRIVATE=ws://openvidu:7880
|
||||||
- V2COMPAT_LIVEKIT_API_KEY=devkey
|
- V2COMPAT_LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- V2COMPAT_LIVEKIT_API_SECRET=secret
|
- V2COMPAT_LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- V2COMPAT_OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings
|
- V2COMPAT_OPENVIDU_RECORDING_PATH=/opt/openvidu/recordings
|
||||||
- V2COMPAT_OPENVIDU_PRO_RECORDING_STORAGE=local
|
- V2COMPAT_OPENVIDU_PRO_RECORDING_STORAGE=local
|
||||||
- V2COMPAT_OPENVIDU_PRO_AWS_S3_BUCKET=openvidu-appdata
|
- V2COMPAT_OPENVIDU_PRO_AWS_S3_BUCKET=openvidu-appdata
|
||||||
- V2COMPAT_OPENVIDU_PRO_AWS_S3_SERVICE_ENDPOINT=http://minio:9000
|
- V2COMPAT_OPENVIDU_PRO_AWS_S3_SERVICE_ENDPOINT=http://minio:9000
|
||||||
- V2COMPAT_OPENVIDU_PRO_AWS_REGION=us-east-1
|
- V2COMPAT_OPENVIDU_PRO_AWS_REGION=us-east-1
|
||||||
- V2COMPAT_OPENVIDU_PRO_AWS_ACCESS_KEY=minioadmin
|
- V2COMPAT_OPENVIDU_PRO_AWS_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- V2COMPAT_OPENVIDU_PRO_AWS_SECRET_KEY=minioadmin
|
- V2COMPAT_OPENVIDU_PRO_AWS_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- V2COMPAT_REDIS_HOST=redis
|
- V2COMPAT_REDIS_HOST=redis
|
||||||
- V2COMPAT_REDIS_PORT=6379
|
- V2COMPAT_REDIS_PORT=6379
|
||||||
- V2COMPAT_REDIS_PASSWORD=redispassword
|
- V2COMPAT_REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword}
|
||||||
- V2COMPAT_REDIS_DB=0
|
- V2COMPAT_REDIS_DB=0
|
||||||
- V2COMPAT_OPENVIDU_WEBHOOK=false
|
- V2COMPAT_OPENVIDU_WEBHOOK=false
|
||||||
- V2COMPAT_OPENVIDU_WEBHOOK_ENDPOINT=http://host.docker.internal:7777/webhook
|
- V2COMPAT_OPENVIDU_WEBHOOK_ENDPOINT=http://host.docker.internal:7777/webhook
|
||||||
|
@ -250,16 +250,16 @@ services:
|
||||||
- MODE=local-ready-check
|
- MODE=local-ready-check
|
||||||
- OPENVIDU_ENVIRONMENT=local-meet
|
- OPENVIDU_ENVIRONMENT=local-meet
|
||||||
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
- LAN_PRIVATE_IP=${LAN_PRIVATE_IP:-}
|
||||||
- DASHBOARD_ADMIN_USERNAME=admin
|
- DASHBOARD_ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME:-admin}
|
||||||
- DASHBOARD_ADMIN_PASSWORD=admin
|
- DASHBOARD_ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD:-admin}
|
||||||
- MINIO_ACCESS_KEY=minioadmin
|
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY:-minioadmin}
|
||||||
- MINIO_SECRET_KEY=minioadmin
|
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY:-minioadmin}
|
||||||
- LIVEKIT_API_KEY=devkey
|
- LIVEKIT_API_KEY=${LIVEKIT_API_KEY:-devkey}
|
||||||
- LIVEKIT_API_SECRET=secret
|
- LIVEKIT_API_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- V2COMPAT_OPENVIDU_SECRET=secret
|
- V2COMPAT_OPENVIDU_SECRET=${LIVEKIT_API_SECRET:-secret}
|
||||||
- MEET_INITIAL_ADMIN_USER=admin
|
- MEET_INITIAL_ADMIN_USER=${MEET_INITIAL_ADMIN_USER:-admin}
|
||||||
- MEET_INITIAL_ADMIN_PASSWORD=admin
|
- MEET_INITIAL_ADMIN_PASSWORD=${MEET_INITIAL_ADMIN_PASSWORD:-admin}
|
||||||
- MEET_INITIAL_API_KEY=meet-api-key
|
- MEET_INITIAL_API_KEY=${MEET_INITIAL_API_KEY:-meet-api-key}
|
||||||
volumes:
|
volumes:
|
||||||
- scripts:/scripts
|
- scripts:/scripts
|
||||||
entrypoint: /bin/sh /scripts/entrypoint_ready_check.sh
|
entrypoint: /bin/sh /scripts/entrypoint_ready_check.sh
|
||||||
|
|
Loading…
Reference in New Issue