by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
cytopia
@cytopia
@JayZen_gitlab not too sure what exactly you want to achieve. I would suggest to have a look at the documentation, it will probably cover all your needs: https://devilbox.readthedocs.io/en/latest/
John Morrison
@jslmorrison_gitlab
Hi - i can get xdebug to work as expected in IDE (VSCODE) when my project has and htdocs folder. If however i need to create a symlink when working in Symfony project for example, as the doc root folder is named 'public', then xdebug wont work as expected. Is this a limitation with xdebug or can it work as expected that way?
cytopia
@cytopia

(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 :/)

@metal450 I've replied to your GitHub issue.

Hi all, does anybody know why Imagick on PHP 5.6 can't read PDF files? Is there any solution for this? Thanks

@thomasA4N can you open up a bug report on GitHub regarding this.

cytopia
@cytopia

hi can i find somewhere info about what php version is builded in actual images ?

@spitcat always the latest patch-level every night

Jayson-Lynnfield-Zen
@JayZen_gitlab
Hi, I've watched support docs page, but seems cannot find related answer... I'll try to formulate it simpler, I've got a local folder with mysql databases on it, can I use it in devilbox persistently? Support documentation says that I need to "Configure application to use IP/CNAME of the host os"... But I'm not sure that this is my case... I thought that I need to edit mounted volume defaults of mysql to use existent local folder, but there's seems no details about that, I don't know where this file is... Thank you for replying
cytopia
@cytopia
@JayZen_gitlab the mysql container is using Docker Volumes (instead of filesystem mounts) for persistence storage, so you will need to import your databases once via the tool of your choice.
Jayson-Lynnfield-Zen
@JayZen_gitlab
So it would be a standard import procedure, e.g from phpmyadmin panel, right? What about freespace? Can I adjust this in case of overflowing?
andchir
@andchir
Hello. Could you help me? I can’t understand how I can use mongoexport tool from PHP. I'm trying to find a path like this:
echo exec('which mongoexport');
I get an empty string.
How to use mongoexport from docker container?
cytopia
@cytopia

So it would be a standard import procedure, e.g from phpmyadmin panel, right? What about freespace? Can I adjust this in case of overflowing?

Not sure what that means

cytopia
@cytopia
@andchir what PHP container are you on? I checked 7.4 and it is available:
$ which mongoexport
/usr/bin/mongoexport
cytopia
@cytopia
@Atakan_Obruk_twitter can u share a screenshot which shows what u've done exactly
German Pimentel
@gpimentelv
@Antonpc Did you got any solution to "Failed to connect: MySQL server has gone away"?
Short Duck
@sordak_gitlab
hello all
I want to set up Yii2 advanced template (it has frontend and backend) in devilbox. How do I do that?
Is there manual?
Short Duck
@sordak_gitlab
Deploying an advanced project template is a bit trickier than a basic one because it has two webroots
Norah Shannon
@tekNorah

Hello everyone! A request came across my desk for enhancements to an existing MEAN stack project and was looking for docker wrapper similar to docksal, but for a MEAN stack, instead. I came across Devilbox on GitHub and wondering if it will serve my purposes here.

Basically, I just want to create a MEAN stack project on my local, copy over the project files, import the db, so I can evaluate and debug, etc.

David A.
@qafui
@sordak_gitlab I'm actually in the middle of doing just that. Lucky for me i only need to config it for one api webroot
dawidcap2
@dawidcap2
Hi All, I have a problem with Nginx ( ... ) redirecting /web to the different path is not working from nginx.yml I have >> 404 Not Found nginx/1.16.1 :( were start to checking my system?
dawidcap2
@dawidcap2
I was pointing to a local folder and it should be docker one
Bruno Moreira
@bmscmoreira
@cytopia I was talking about this (Devilbox working on ARM devices) in the discourse forum and now I saw this slightly old thread. Just to place my thumbs up ARM-ready images for Devilbox :) - will investigate the docker-compose-override-yml though. @clotted, have you had the change to play with this / able to run Devilbox on your Pi?
datatainment
@krebbi
@cytopia I do have the same problem with Nginx redirecting with .devilbox/nginx.yml as @dawidcap2 has.
clotted
@clotted
@bmscmoreira Unfortunately not. I’m still using ScotchBox on Vagrant for now
Bruno Moreira
@bmscmoreira
@clotted didn't know about ScotchBox, I'll pay a visit – although I would prefer to keep Docker as I think it is more lightweight; also, I think ScotchBox won't allow me to choose older php/sql/apache versions; I sometimes work with older sites which still require these old versions, and the way Devilbox handles these is very friendly
clotted
@clotted
@bmscmoreira Could be related to the docker-compose version. I found possible solution, will test later:
sudo apt update
sudo apt install python3-pip
sudo pip3 install docker-compose
Bruno Moreira
@bmscmoreira
@clotted I haver docker and docker-compose working fine on Pi under ARM64 with ubuntu server 64bit. And managed to deploy a simplistic working LAMP stack, but without all the config possibilities of Devilbox, hence my eagerness to have Devilbox working on ARM64. :D - crossing my fingers.
Michael Habib
@MichaelHabib
Hi, how do start PgSQL (new to docker-compos)
Bruno Moreira
@bmscmoreira
See "Install, Configure and Start" at http://devilbox.org/ - you need to edit the .env file and select the version of PgSQL you want to use (i.e. remove the "#" from the beginning of the line).
Michael Habib
@MichaelHabib
@bmscmoreira thanks, I'm trying to start specific services such as php + postgres .. but running docker-compose up postgres returns " No such service: postgres" . In other words, what's the service name that I can call with docker-compose up
Michael Habib
@MichaelHabib
Just sign up to patreon for the first time, this project deserves more financial support , it saves everyone hours if not days of environment setup time !
Anatoli Nicolae
@anatolinicolae
hey guys, is there anyone in charge of PR reviews?
this one's been setting there for a while now
and I would like some feedback just to know how to proceed with this stuff, wether to wait o simply fork them all
arman
@arako_gitlab
hey guys, i am working on fedora 31, and using devilbox, but https and php containers won't start in logs i get permission denied errors, uid = 1000 is correct
php_1    | [INFO] Make sure to mount this directory in order to view logs
php_1    | root $ touch /var/log/php/php-fpm.access
php_1    | touch: cannot touch '/var/log/php/php-fpm.access': Permission denied
devilbox_php_1 exited with code 1
here
Anatoli Nicolae
@anatolinicolae
which volumes did you mount?
are you sure those are not mounted on your system therefore conflicting permission?
also if you pass DOCKER_LOGS=1 you should be seeing errors with docker logs
datatainment
@krebbi

@cytopia I do have the same problem with Nginx redirecting with .devilbox/nginx.yml as @dawidcap2 has.

bump

MacExpert
@lcmkevin
how can i use TOMCAT in devilbox ?
Peter Dolinaj
@pdolinaj
Hi, I'm pretty new do Devilbox and trying to install ZeroMQ, what's the best way?
Andrea Ambrosi
@AndreaPG_gitlab
Hello everyone, you can use two different php versions, in two virtual hosts, with the same installation of devilbox?
clotted
@clotted
@bmscmoreira No progress on Raspberry Pi. Seems most base images are not available for ARM architecture, so little in the way of options, expect Mariadb ARMv8 (too much work).
@cytopia Is it worth updating this statement "for all host operating systems" on devilbox.org? (and this: https://devilbox.readthedocs.io/en/latest/getting-started/prerequisites.html#supported-host-os)
Bruno Moreira
@bmscmoreira
@clotted - unfortunately yes. It's indeed lack of base images for ARM, especially on 32bit OS. Devilbox must already be tough to maintain with all those configuration possibilities, even without ARM support. I've been trying tinkering with Devilbox and change settings to make it work, in part, in my Pi, but I'm not being too successful on it. So I am trying the reverse: creating a docker based lamp stack with a few config options ready to deploy on Raspberry Pi (32bit host with docker installed on 64bit guest by using this remarkable work from sakaki: https://github.com/sakaki-/raspbian-nspawn-64) and I have an experimental thing on github already, although very incomplete.
Роман Сохарев
@greabock
Hi there! Is there way to connect to database from host os?
Michael Habib
@MichaelHabib

Hi there! Is there way to connect to database from host os?

Hi, I think this would be more of a Docker question (not specific to devilbox) . Quick search lead me to https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach

" just connect to your mysql service using the host host.docker.internal (instead of the 127.0.0.1 in your connection string)..." more details on that thread .

GL

riko ms
@meisaputra
hi masters, i use Devilbox v1.0.2 (2019-06-10). and i user mariadb for sqlstack.
docker-compose is running well. and i can run phpmysqladmin from devilbox panel.
my question, where is the mysql command. i've search all place but nothing found.