Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alenas committed Jan 8, 2021
1 parent b04156d commit e815e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pwd.txt
2 changes: 2 additions & 0 deletions pod-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ mysqlrootpwd=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&*()' | fold -w 24 | he
echo 'MySQL: ' $mysqlpwd ' ROOT : ' $mysqlrootpwd > pwd.txt

### create pod
podman pod stop pbx
podman pod create -n pbx --hostname voip.pir.lt \
-p 80:80/tcp -p 443:443/tcp \
-p 5060:5060/tcp -p 5060:5060/udp -p 5061:5061/tcp -p 5061:5061/udp \
-p 8089:8089 \
-p 18000-18200:18000-18200/udp \
--replace
podman pod start pbx

### create db container
podman run -d --name freepbx-db --pod pbx \
Expand Down

0 comments on commit e815e4d

Please sign in to comment.