Open LorenzoLuconi opened 3 years ago
I'm seeing the exact same thing. CentOS 7. Docker 20.10.6
My sanitized docker-compose.yml. Excuse the formatting I tried doing a code block but it didn't like it.
version: '2'
services: freepbx-app: container_name: freepbx-app image: tiredofit/freepbx ports:
#- 80:80
#### If you want SSL Support and not using a reverse proxy
#- 443:443
- 5060:5060/udp
- 5160:5160/udp
- 18000-18100:18000-18100/udp
#### Flash Operator Panel
- 4445:4445
volumes:
- ./certs:/certs
- ./data:/data
- ./logs:/var/log
- ./data/www:/var/www/html
### Only Enable this option below if you set DB_EMBEDDED=TRUE
#- ./db:/var/lib/mysql
### You can drop custom files overtop of the image if you have made modifications to modules/css/whatever - Use with care
#- ./assets/custom:/assets/custom
environment:
- VIRTUAL_HOST=pbx.domainname.org
- VIRTUAL_NETWORK=nginx-proxy
### If you want to connect to the SSL Enabled Container
- VIRTUAL_PORT=443
- VIRTUAL_PROTO=http
- VIRTUAL_PORT=80
# - LETSENCRYPT_HOST=pbx.domainname.org
# - LETSENCRYPT_EMAIL=email@domainname.org
- ENABLE_SMTP=TRUE
- SMTP_FROM=pbx@idomainname.org
- SMTP_HOST=postfix-relay
- SMTP_PORT=25
- SMTP_DOMAIN=domainname.org
- SMTP_MAILDOMAIN=local
- SMTP_AUTHENTICATION=off
- SMTP_TLS=off
- SMTP_STARTTLS=off
- SMTP_TLSCERTCHECK=off
- ZABBIX_HOSTNAME=freepbx-app
- RTP_START=18000
- RTP_FINISH=18100
## Use for External MySQL Server
- DB_EMBEDDED=FALSE
### These are only necessary if DB_EMBEDDED=FALSE
- DB_HOST=freepbx-db
- DB_PORT=3306
- DB_NAME=asterisk
- DB_USER=asterisk
- DB_PASS=<mysqlpass>
### If you are using TLS Support for Apache to listen on 443 in the container drop them in /certs and set these:
#- TLS_CERT=cert.pem
#- TLS_KEY=key.pem
restart: always
networks:
- proxy-tier
### These final lines are for Fail2ban. If you don't want, comment and also add ENABLE_FAIL2BAN=FALSE to your environment
cap_add:
- NET_ADMIN
privileged: true
freepbx-db: container_name: freepbx-db image: tiredofit/mariadb restart: always volumes:
proxy-tier
freepbx-db-backup: container_name: freepbx-db-backup image: tiredofit/db-backup links:
proxy-tier restart: always
docker ps
by this nameproxy:
image: nginxproxy/nginx-proxy
ports:
volumes:
networks:
proxy-tier
postfix-relay: container_name: postfix-relay image: freinet/postfix-relay restart: always environment:
networks: proxy-tier: external: name: nginx-proxy
Hello, I just installed docker-freepbx and I have a core dump file every 10 minutes:
And these logs (/var/log/asterisk/ucp_error.log):
I'm using provided docker-compose file and CentOS 7 OS with Docker version 20.10.5. The problem looks like this one https://community.freepbx.org/t/ucp-wont-allow-login-screen/72307/2 but I can't find a solution.
I'm not sure is a docker-freepbx or freepbx problem. Anyone Knows howto solve the problem?