These are chat archives for azukiapp/azk

18th
May 2015
Junio Vitorino
@juniovitorino
May 18 2015 13:48 UTC
Olá pessoal? (I could speak portuguese here?)
Gullit Miranda
@gullitmiranda
May 18 2015 13:51 UTC
Olá Junio, em português usamos outro canal. Assim as coisas ficam mais organizada.
Junio Vitorino
@juniovitorino
May 18 2015 13:52 UTC
Ok, thanks!!
Today I introduce azk for out team here in the office, two words, blowing minds. :smile:
Junio Vitorino
@juniovitorino
May 18 2015 14:26 UTC
But I get some errors, then I'll open tickets for them in Github. All are related to timed out connections when starting the azk agent.
Gullit Miranda
@gullitmiranda
May 18 2015 14:30 UTC
It's already done and will be released in azk 0.13.0 (probably tomorrow)
Junio Vitorino
@juniovitorino
May 18 2015 14:51 UTC
Great!!
Junio Vitorino
@juniovitorino
May 18 2015 15:08 UTC
Have some way of control the vhost in itself? For example rewrite module is enable but rewriting not happens because probably the overriding is denied in vhost.
Junio Vitorino
@juniovitorino
May 18 2015 15:24 UTC
Interesting, seems that .htaccess of APP_DIR is unknown
My rewrite directives aren't applied after all.
:(
Gullit Miranda
@gullitmiranda
May 18 2015 15:35 UTC
It depends a bit on what you need. You may exister 3 ways to do this:
  • Use a Dockerfile that will extenter the image used.
  • Mount: Adding a mount to override the vhost file.
  • Provision: Run a command to enable a module (eg a2enmod, php5enmod).
We are in a meeting now, I'll try to be brief, but if it is any doubt we can make a call soon. Can it be?
Junio Vitorino
@juniovitorino
May 18 2015 15:39 UTC
Oh, yeah, don't worry. We can make the call anyway, but isn't necessary.
Gullit Miranda
@gullitmiranda
May 18 2015 15:40 UTC
Dockerfile: http://docs.azk.io/en/faq/index.html#i-cannot-find-the-image-i-want-in-the-docker-hub-what-do-i-do-now
Mount: http://docs.azk.io/en/getting-started/mounts-files.html
mounts: {
      '/azk/#{manifest.dir}': path(".”),
      '/etc/apache2/sites-available/000-default.conf': path(“apache-site.conf”),
    },
Junio Vitorino
@juniovitorino
May 18 2015 15:40 UTC
All the issues are related with the image, I understood, I go build our own image.
Gullit Miranda
@gullitmiranda
May 18 2015 15:42 UTC
Yes, it has to do with the image because it is related to architecture and not the application itself. So I put the provision as last. :smile:
Junio Vitorino
@juniovitorino
May 18 2015 15:42 UTC
Sorry for the huge number of questions, I really love the project and want use it and help to improve it, I'll working on it, but until be familiar I'll have some doubts. Thank you in advanced for you attention and replies. :+1:
Gullit Miranda
@gullitmiranda
May 18 2015 15:46 UTC
Not at all, know your questions are extremely important because then we can improve our documentation. Not knowing you have any questions, yes it is our problem. No use the azk be a "fuck tool” if users do not know or even have difficulty to use.
Junio Vitorino
@juniovitorino
May 18 2015 16:24 UTC
Worked very well mounting a custom vhost, I'm crying at all.
Gullit Miranda
@gullitmiranda
May 18 2015 16:25 UTC
:)
Junio Vitorino
@juniovitorino
May 18 2015 16:52 UTC
Humnnnn, look this.
After um restart, the envs aren't available anymore.
Gullit Miranda
@gullitmiranda
May 18 2015 16:53 UTC
Correcting the previous slang: “awesome tool”
Junio Vitorino
@juniovitorino
May 18 2015 16:53 UTC
I restart agent also
Hahahah ok, ok
Array
(
)
Now returns
empty env vars.
Gullit Miranda
@gullitmiranda
May 18 2015 17:05 UTC
I imagine that some of the mounts can be overwritten by disabling the loading of the system ENVS. You could disable one to test?
Junio Vitorino
@juniovitorino
May 18 2015 17:06 UTC
I disable it, still not working. :(
Well, I stop by now, I've some tickets to close. Later I back to it.
I back to my old workflow for now.
Gullit Miranda
@gullitmiranda
May 18 2015 17:11 UTC
Nice. Let's see what's going on after then.