Open agafox opened 7 years ago
regard docker compose , you can use this file as docker-compose-yml
version: '2'
services:
restcomm:
image: restcomm/restcomm
environment:
- STATIC_ADDRESS="$your_ip"
env_file:
- "/restcomm/conf/restcomm_local"
volumes:
- /var/log/restcomm:/var/log/restcomm
- /restcomm/restcomm_workspace/restcomm/cache:/opt/Restcomm-JBoss-AS7/standalone/deployments/restcomm.war/cache
- /restcomm/restcomm_workspace/mms/log:/opt/Restcomm-JBoss-AS7/mediaserver/log
- /restcomm/restcomm_workspace/restcomm/recordings:/opt/Restcomm-JBoss-AS7/standalone/deployments/restcomm.war/recordings
- /restcomm/restcomm_workspace/restcomm/data:/opt/Restcomm-JBoss-AS7/standalone/deployments/restcomm.war/WEB-INF/data/hsql
- /restcomm/restcomm_workspace/rvd/workspace:/opt/Restcomm-JBoss-AS7/standalone/deployments/restcomm-rvd.war/workspacenetwork_mode: "host"
regard integration with mysql you should able to configure it via env_file,
via below configuration paramters
RCBCONF_ENABLE_MYSQL=true RCBCONF_MYSQL_USER=xxxx RCBCONF_MYSQL_PASSWORD=xxxxxx RCBCONF_MYSQL_HOST=xxxx RCBCONF_MYSQL_SCHEMA=restcomm
@AShabana Great! Would you like to make a PR with your version of docker-compose.yml?
@agafox @AShabana let's make docker compose actually compose Restcomm Connnect docker image, Restcomm Media Server docker image and the DB (MariaDB or HSQL, hsql being the default for community) Docker image
It will be good to add Docker Compose support as long as it's recommended to run Restcomm with MySQL instead of HSQL.