Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gullit Miranda
    @gullitmiranda
    Olá Junio, em português usamos outro canal. Assim as coisas ficam mais organizada.
    Junio Vitorino
    @juniovitorino
    Ok, thanks!!
    Today I introduce azk for out team here in the office, two words, blowing minds. :smile:
    Junio Vitorino
    @juniovitorino
    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
    It's already done and will be released in azk 0.13.0 (probably tomorrow)
    Junio Vitorino
    @juniovitorino
    Great!!
    Junio Vitorino
    @juniovitorino
    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
    Interesting, seems that .htaccess of APP_DIR is unknown
    My rewrite directives aren't applied after all.
    :(
    Gullit Miranda
    @gullitmiranda
    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
    Oh, yeah, don't worry. We can make the call anyway, but isn't necessary.
    Gullit Miranda
    @gullitmiranda
    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
    All the issues are related with the image, I understood, I go build our own image.
    Gullit Miranda
    @gullitmiranda
    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
    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
    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
    Worked very well mounting a custom vhost, I'm crying at all.
    Gullit Miranda
    @gullitmiranda
    :)
    Junio Vitorino
    @juniovitorino
    Humnnnn, look this.
    After um restart, the envs aren't available anymore.
    Gullit Miranda
    @gullitmiranda
    Correcting the previous slang: “awesome tool”
    Junio Vitorino
    @juniovitorino
    I restart agent also
    Hahahah ok, ok
    Array
    (
    )
    Now returns
    empty env vars.
    Gullit Miranda
    @gullitmiranda
    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
    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
    Nice. Let's see what's going on after then.
    Jean Uchôa
    @roadhouse
    love all <3 :*
    Gullit Miranda
    @gullitmiranda
    <3 <3 <3
    Luis Baroni
    @lcsbaroni
    I created 2 projects using Azk, I used mysql and the host is db.dev.azk.io in both. But, when I created one more project, I can't connect to mysql using the same host. Azk starts properly, but I can't connect to mysql, if I change mysql host, for example testedb.dev.azk.io, mysql connect normally. You know anything about this problem?
    Gullit Miranda
    @gullitmiranda

    @lcsbaroni,
    In azk, each project (Azkfile.js) has a single scope, so they do not communicate. We recommend that each project has its own database.

    How do you set a url and are connecting with her, I believe the problem is port, since a project can not receive export_envs another.

    Wesley Ribeiro
    @WesleyRibs
    @gullitmiranda how to add this command: "try_files $uri $uri/ /index.php?$query_string;" on my nginx.conf ? I am using a image of php-fpm.
    Gullit Miranda
    @gullitmiranda
    @WesleyRibs you can make a mount overriding the current /etc/nginx/sites-available/default inside the container.
    eg:
    mounts: {
      // ...
      '/etc/nginx/sites-available/default': path('./nginx.conf'),
    }
    Wesley Ribeiro
    @WesleyRibs
    @gullitmiranda thks handsome !!!! you are the guy \o/
    Gullit Miranda
    @gullitmiranda
    :blush:
    @WesleyRibs , I believe this change you will make, may become standard. If you can do as a PR correcting the files:
    https://github.com/azukiapp/docker-php-fpm/blob/master/5.5/nginx-default.conf
    https://github.com/azukiapp/docker-php-fpm/blob/master/5.6/nginx-default.conf
    Slobodan Mišković
    @slobo
    What is the best way to cleanup persistent folders and maybe even docker images after i'm done with particular project?
    Gullit Miranda
    @gullitmiranda
    @slobo, we noted one issue that aims to add functionality to manipulate persistent, such as clean, get (download), list, etc.
    To clean the persistent, for now the best alternative is to use the azk shell [system].