by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 08 16:41
  • Aug 08 16:11
    cytopia closed #167
  • Aug 08 10:17
    cytopia assigned #714
  • Aug 08 10:17
    cytopia assigned #713
  • Aug 08 10:17
    cytopia edited #167
  • Aug 08 10:16
    cytopia synchronize #167
  • Aug 08 09:23
    cytopia assigned #167
  • Aug 08 09:23
    cytopia opened #167
  • Aug 07 23:12
    Born2Bake commented #24
  • Aug 07 22:06
    Born2Bake opened #24
  • Aug 07 16:22
  • Aug 07 10:09
  • Aug 07 10:07
    endrureza starred cytopia/devilbox
  • Aug 06 11:11
    cytopia commented #714
  • Aug 06 10:54
    thomasA4N commented #714
  • Aug 06 10:47
    aurick88 starred cytopia/docker-bind
  • Aug 06 10:37
    cytopia commented #714
  • Aug 06 10:36
    thomasA4N commented #714
  • Aug 06 10:34
    thomasA4N edited #714
  • Aug 06 09:48
    jee-r starred devilbox/watcherd
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.
Dan
@domainregistrar
I'm going a little mad with Devilbox at the moment, I make changes to custom .ini file, but no matter what I do it seems to be cached using the old one, even after doing docker-compose rm -f -- The only time I managed to make it update was after a devilbox upgrade.
What am I missing here?
Nikos Papagiannopoulos
@panigrc
@domainregistrar is it possible that you are editing the wrong ini file ?
Mark Gregory
@hamcore
Would there be any objection to attempting an arm (pi) fork
jnunez166
@jnunez166
Work with multiple clients. Can I namespace the containers? Right now just checking out a single devilbox per client so I cant run more than 1 clients container at a time
uphlewis
@uphlewis
Anyone have any luck persisting stuff from the PHP container filesystem like .bash_history, psysh_history? Im not great with docker, but managed to get it working in a hacky way by symlinking these files to the mounted php log directory and setting that up on boot using bash scripts in Devilbox/autostart. Is there a better way?!?!
Bruno Moreira
@bmscmoreira
@hamcore not in the devs plan to support arm since much work would be involved. +1 for the fork since I too would like to put my pi4 to work. And the future seems to be arm!
Rene Kreijveld
@renekreijveld
Hi all, I'd like to update adminer in the local devilbox Intranet. On the Intranet I see adminer version 4.7.5, but the latest version is 4.7.7. Any clue how to do update?
I found the adminer source by entering the php container and going to /var/www/default/htdocs/vendor. When I try to copy something there I get: unable to remove target: Read-only file system
uphlewis
@uphlewis
@renekreijveld have you tried devilbox rm -rf and then restarting containers? They should pull in latest versions of everything when starting up i think
Rene Kreijveld
@renekreijveld
@uphlewis I think you mean docker-compose rm -rf ? I do that everytime before I shutdown my machine. But I don't get the adminer latest version. I do you mean something else?
@uphlewis I also tried git pull origin master and docker responds with 'Already up to date.'
uphlewis
@uphlewis
@renekreijveld Yeah I've got a devilbox function in my bashrc which cds to my devilbox dir and calls docker-compose $* just for convenience. Unsure about how it builds adminer, but if it installs it using a package manager maybe the latest version just isn't available in its repository list yet? But at the end of the day it's just a php application so I guess you could easily pull in the latest yourself from github in an autostart/ bash script?
Rene Kreijveld
@renekreijveld
@uphlewis Getting my hands on the latest adminer.php wasn't the issue :-) I just can't install it inside the /var/www/default/htdocs/vendor folder.
I too have two bash scripts, 'startdevelopment' which starts the docker containers and 'stopdevelopment' which stops the containers and cleans them up.
Rene Kreijveld
@renekreijveld
Hi everyone, I created a handy script for easy switching PHP versions: https://gist.github.com/renekreijveld/66183c2bf308d393aa64137f13db3096
This script can be used on Linux and macOS platforms. The script modifies the .env file and then stops and restarts the docker containers.
uphlewis
@uphlewis
@renekreijveld That sounds really cool- you should consider submitting that in a PR to the devilbox project!
Rene Kreijveld
@renekreijveld
@uphlewis I have updated the script so there is no longer a need for the .env-master copy. The script now modifies directly inside the .env file :-)
uphlewis
@uphlewis
Ah wicked, ill definitely be giving it a go
Thanks
Rene Kreijveld
@renekreijveld
@uphlewis Make sure you read the comment below the script. There's some minimal setup you need to do.
Dustin Pate
@noirsoldats
Hello everyone, I have a co-worker who's php container cannot access a server on the Work VPN (Via Cisco Anyconnect) connected on his host machine (Linux). Everything works fine for me, same VPN, but I'm running Mac.. Any clues or tips to help us figure out what the different/problem is?
Debabrata Karfa
@debabratakarfa
I am using Docker Toolbox and I set up /etc/hosts to point to 192.168.99.100
Still I am getting
No Host DNS record found. Add the following to /etc/hosts: 127.0.0.1
Do I need to set LOCAL_LISTEN_ADDR=192.168.99.100 - ?
If I am doing that and when I am running docker-compose up getting this error,
Recreating devilbox_bind_1 ... error

ERROR: for devilbox_bind_1  Cannot start service bind: Ports are not available: listen tcp 192.168.99.100:53: bind: can't assign requested address

ERROR: for bind  Cannot start service bind: Ports are not available: listen tcp 192.168.99.100:53: bind: can't assign requested address
ERROR: Encountered errors while bringing up the project.