diff --git a/compose.yaml b/compose.yaml index e1c769d..88dbf7b 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,4 +5,6 @@ services: context: . volumes: - ./conf:/conf - - ./data:/data \ No newline at end of file + - ./data:/data + ports: + - 5060:5060 \ No newline at end of file diff --git a/startup.sh b/startup.sh index a5a1542..ec747ee 100644 --- a/startup.sh +++ b/startup.sh @@ -1,6 +1,7 @@ #! /bin/bash cp /conf/* /usr/local/etc/yate/ -cp -r /data /usr/local/share/yate +mkdir -p /usr/local/share/yate +cp -r /data/* /usr/local/share/yate/ yate -vvv -Do