These are chat archives for azukiapp/azk

13th
Dec 2015
Can't make it work. Please could you check what I'm doing wrong here?
mysql is running, php is running, phpmyadmin is running, but can't connect to database
Vytenis
@FDiskas
Dec 13 2015 11:14
I tryed this as workarownd https://github.com/azukiapp/azk/issues/569#issuecomment-159260217 and it worked. Looks like on every PC restart I need to do that again and again
Gullit Miranda
@gullitmiranda
Dec 13 2015 14:10
@FDiskas which one works, the dnsmasq or firewall?
Vytenis
@FDiskas
Dec 13 2015 14:21
Firewall probably
I executed them both
Gullit Miranda
@gullitmiranda
Dec 13 2015 14:54
I understand. I think we have documented how to resolve this problem.
try:
sudo firewall-cmd --permanent --zone=public --add-port=53/udp
sudo systemctl restart firewalld
Vytenis
@FDiskas
Dec 13 2015 18:44
thanks.
got another question, azk shell and then bower install --allow-root all files that was created by bower is unaccessable. How can I shell in to the container with no root?
that all created files would be accessable my my in the host
Gullit Miranda
@gullitmiranda
Dec 13 2015 20:46

in theory the assets generated by the bower should not change over, that is, they do not need to be on your hosts.

As in docker, everything is root, files are generated as a property of the root user. You change the user's access on your machine or use a custom Dockerfile with a user with the same ID for your.

Vytenis
@FDiskas
Dec 13 2015 20:53
But if I try to include them in index.html they are not accessable to. Browser displays them as 404
Its not a big issue, but...
Gullit Miranda
@gullitmiranda
Dec 13 2015 21:11
you use apache or nginx?
Vytenis
@FDiskas
Dec 13 2015 21:18
apache
This message was deleted
I mean - I cant add custom htaccess file to the project
allow rewrite all must be enabled
sorry for my bad english :)
Gullit Miranda
@gullitmiranda
Dec 13 2015 21:20
apache you are using allows you to access the root files?
image azukiapp was changed to be able to do that.
Vytenis
@FDiskas
Dec 13 2015 21:20
for example I'm making single page app with angular, and I cant make that all requested urls go to index page
I'm using this "azukiapp/php-fpm:5.6"
Gullit Miranda
@gullitmiranda
Dec 13 2015 21:23

then this should not be a problem :(

I will have to search a bit more about it. This problem happens with that demo application you sent?

Vytenis
@FDiskas
Dec 13 2015 21:25
This message was deleted
This message was deleted
This message was deleted
Gullit Miranda
@gullitmiranda
Dec 13 2015 23:00
good
I will try to fix the problem