Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Arief Zulianto
@madzul
@cytopia can i have multiple php version and mysql version at once?
Pedro Machado Santa
@pedrosanta
Big shout to devilbox community :raised_hands: great project/tool.
cytopia
@cytopia
@pedrosanta thanks!
@madzul not yet officially, but there is a ticket and also some proof of concept already: cytopia/devilbox#146
@paramigunasekara it's on the way: devilbox/docker-php-fpm#117
@thomasA4N ftp module is available in the PHP container, other than to get an FTP server in the stack, just add an FTP docker container to it via: https://devilbox.readthedocs.io/en/latest/configuration-files/docker-compose-override-yml.html
cytopia
@cytopia
@paramigunasekara OAuth will be merged today: cytopia/devilbox#582
Parami Gunasekara
@paramigunasekara
@cytopia Thank you!! devilbox is amazing!
cytopia
@cytopia
Rodolfo Berrios
@rodolfoberrios
How can I connect to the database from an external application like DataGrip? I've tried to connect to '172.16.238.12' and it always says that the password is wrong (using root user, blank password) default install on Ubuntu 19.
MYSQL_SERVER=mariadb-10.3
Rodolfo Berrios
@rodolfoberrios
nvm, tried 10.4 it worked, then 10.3 it worked. Most likely I'm drunk. Sorry.
Roberto
@Delacor_twitter

Hi, i got the Following problem:

docker run -d \
--restart always \
--name bind \
--cap-add=NET_BIND_SERVICE \
--network=DOCKER_INTERN \
-p 10.5.1.2:53:53/tcp \
-p 10.5.1.2:53:53/udp \
-e DNS_FORWARDER=1.1.1.1 \
-t cytopia/bind

nslookup google.de 10.5.1.2

Server: 10.5.1.2
Address: 10.5.1.2#53

** server can't find google.de: REFUSED

Roberto
@Delacor_twitter
fixed it. sorry. Got an IP-Clonflict
Kenjiro Ken Sarjonator
@sarjonator
Who is usaged with Roots Bedrock Ansible for Automate some one else?
Share think to me please.
I don't use Roots bedrock with vagrant on vm because it slowly!
FYI
Omer Sabic
@SlimDeluxe
Hi guys, how do you properly run a php cronjob? If I run this command in CLI on the host /usr/local/bin/docker-compose exec php /usr/local/bin/php -v >> /home/omer/docker-scheduler.log it works... however adding this to crontab -e, it doesn't produce any output
entry in crontab:
* * * * * cd /home/omer/devilbox; /usr/local/bin/docker-compose exec php /usr/local/bin/php -v >> /home/omer/docker-scheduler.log
Omer Sabic
@SlimDeluxe
I figured it out... in the crontab entry, you need to add the -T parameter, so it's non interactive/tty
so this works: * * * * * cd /home/omer/devilbox; /usr/local/bin/docker-compose exec -T php /usr/local/bin/php -v >> /home/omer/docker-scheduler.log
jamestmmadmin
@jamestmmadmin
hi there how do I add php 7.2.11 to my box
Watcharaphong Rattanasree
@watcharaphong.ra.bnh_gitlab
Hello, I need help.
I have build devilbox/php-fpm:7.3-prod in my docker that I used PDO_SQLSRV to connect my mssql database but it is not working so that message out is "SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712".
Let me know how to solve it.
Omer Sabic
@SlimDeluxe
@watcharaphong.ra.bnh_gitlab , you need to use a startup script to install the ms odbc driver
in cfg/php-startup-7.3 you have the 02-ms-odbc-driver.sh-example file... copy and rename it, and inside set the ACCEPT_EULA to Y
here's the full documentation, but it does not account for the fact the example file is already there: https://devilbox.readthedocs.io/en/latest/autostart/custom-scripts-per-php-version.html#installing-microsoft-odbc-driver
Watcharaphong Rattanasree
@watcharaphong.ra.bnh_gitlab
@SlimDeluxe Thank you.

This is my Dockerfile that work well.

FROM devilbox/php-fpm:7.3-prod

RUN apt-get update && apt-get install -y wget gpg apt-transport-https ca-certificates
RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
RUN mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
RUN wget -q https://packages.microsoft.com/config/debian/9/prod.list
RUN mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
RUN chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
RUN chown root:root /etc/apt/sources.list.d/microsoft-prod.list
RUN apt-get update && ACCEPT_EULA=Y apt-get install -y msodbcsql17

metal450
@metal450
I’m trying to configure php’s error_log path, via .\cfg\php-ini-5.6. I’ve created an .ini file there & can set other values, so I know PHP is picking up the .ini - however, no matter what value I set for error_log, phpinfo() always just shows /var/log/php/php-fpm.error. How can I get DevilBox to respect the value set for error_log (I'm trying to set a path like error_log = “${DOCUMENT_ROOT}/error_log.log”)?
(Note: I've been trying to get this solved for nearly eight weeks - also posted both on the forum, https://devilbox.discourse.group/t/php-ini-error-log-not-respected/135, and github, cytopia/devilbox#577. It seems to be extremely difficult to get replies from the developers :/)
Omer Sabic
@SlimDeluxe
I think they should run a patreon page so we can support the development and they can dedicate some of their professional time to the project
ndgrusu
@ndgrusu
Hi guys, i am new to devilbox. Just want to know if any of you used it also for production and not just local development
Per Nielsen Tikær
@pernielsentikaer
Suddently my devilbox won't start: https://pastebin.com/xw6ZqzX6 - any advice?
ledeneveugene
@ledeneveugene
Hi! I trying to start devibox at first time. I have problems when i use command docker-compose up. My errors is:
services.bind.ports is invalid: Invalid port "127.0.0.11053:53/tcp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.bind.ports is invalid: Invalid port "127.0.0.11053:53/udp", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.memcd.ports is invalid: Invalid port "127.0.0.111211:11211", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.mongo.ports is invalid: Invalid port "127.0.0.127017:27017", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.mysql.ports is invalid: Invalid port "127.0.0.13306:3306", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.httpd.ports is invalid: Invalid port "127.0.0.1443:443", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.pgsql.ports is invalid: Invalid port "127.0.0.15432:5432", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.redis.ports is invalid: Invalid port "127.0.0.16379:6379", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.httpd.ports is invalid: Invalid port "127.0.0.180:80", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
what can i do to fix it?
sorry, i understand! LOCAL_LISTEN_ADDR=127.0.0.1: must have : in the end if string
Robson
@RobsonTrimes

Hi guys!! I'm trying to run devilbox on production and it's working well. Also, I'm using it in only for one project, not multiple. But I'm trying to Install let's encrypt and it's being a struggle at the moment. Does someone have devilbox running on production? I tried to use this project mentioned on devilbox documentation: https://github.com/bigxu/nginx-acme.

But I'm also having problems with, because this project has not much documentation: Thanks!

Felix Mosheev
@felixmosh
Hi all, there is any way to reverse proxy using nginx to some server on the host?
Felix Mosheev
@felixmosh
Found the answer! on Mac you can access the host by pointing to: host.docker.internal :]
thomasA4N
@thomasA4N
Hi all, does anybody know why Imagick on PHP 5.6 can't read PDF files? Is there any solution for this? Thanks
eihabarabia
@eihabarabia
hello all I have done everything right but I can't show the file in the browser after adding htdocs and ./data/www and everything is fine but I still can't show the pages in localhost. am I missing something. please advise
Peter Nerád
@neradp
hi i have some problem with bind container
forwarded dns response reach bind service .. but no output is given..
no response is giver.. sorry for my bad english
Peter Nerád
@neradp
It is possible to add to bind container something like interface-automatic: yes ?
Peter Nerád
@neradp
ok i do it myself..
i installed: Deadwood is a program that allows one to have a recursive DNS cache on their
Windows system.
Peter Nerád
@neradp
Now AutoDNS is working like a charm (Docker Tools + VMware Workstation, no needs to manually edits hosts file on Windows)