Herramientas de usuario

Herramientas del sitio


informatica:software:aplicaciones_web:kimai

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Próxima revisión
Revisión previa
informatica:software:aplicaciones_web:kimai [2020/12/20 10:25] – creado tempwininformatica:software:aplicaciones_web:kimai [2023/01/10 12:02] (actual) – [Kimai] tempwin
Línea 1: Línea 1:
 ====== Kimai ====== ====== Kimai ======
  
-Herramienta online autoalojable para medir el tiempo (//time tracking//). Diseñada para pequeños negocios o autónomos (//freelancer//).+Herramienta online autoalojable para [[informatica:software:control_del_tiempo|medir el tiempo]] (//time tracking//). Diseñada para pequeños negocios o autónomos (//freelancer//).
  
 +  * [[https://www.kimai.org/|Web oficial]]
 +  * [[https://github.com/kimai/kimai|Repositorio de código oficial]] (GitHub)
 ===== Instalación ===== ===== Instalación =====
  
 ==== Docker ==== ==== Docker ====
 +
 +Contenido de ''nginx_site.conf'':
 +
 +<code nginx>
 +server {
 +    listen 80;
 +    index index.php;
 +    server_name php-docker.local;
 +    root /opt/kimai/public;
 +
 +    # cache static asset files
 +    location ~* \.(ico|css|js|gif|jpe?g|png)(\?[0-9]+)?$ {
 +            expires max;
 +            log_not_found off;
 +    }
 +
 +    # for health checks
 +    location /health {
 +        return 200 'alive';
 +        add_header Content-Type text/plain;
 +    }
 +
 +    location / {
 +        # try to serve file directly, fallback to index.php
 +        try_files $uri $uri/ /index.php$is_args$args;
 +    }
 +    
 +    location ~ ^/index\.php(/|$) {
 +        fastcgi_pass kimai:9000;
 +        fastcgi_split_path_info ^(.+\.php)(/.*)$;
 +        include fastcgi_params;
 +
 +        # optionally set the value of the environment variables used in the application
 +        # fastcgi_param APP_ENV prod;
 +        # fastcgi_param APP_SECRET <app-secret-id>;
 +        # fastcgi_param DATABASE_URL "mysql://db_user:db_pass@host:3306/db_name";
 +
 +        # When you are using symlinks to link the document root to the
 +        # current version of your application, you should pass the real
 +        # application path instead of the path to the symlink to PHP
 +        # FPM.
 +        # Otherwise, PHP's OPcache may not properly detect changes to
 +        # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
 +        # for more information).
 +        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
 +        fastcgi_param DOCUMENT_ROOT $realpath_root;
 +        # Prevents URIs that include the front controller. This will 404:
 +        # http://domain.tld/index.php/some-path
 +        # Remove the internal directive to allow URIs like this
 +        internal;
 +    }
 +}
 +
 +</code>
  
 ''docker-compose.yml'': ''docker-compose.yml'':
Línea 49: Línea 105:
             DB_PORT: 6306             DB_PORT: 6306
             DB_BASE: kimai             DB_BASE: kimai
-            ADMINPASS: passwordtochange +            ADMINPASS: cambiame 
-            ADMINMAIL: someone@gmail.com+            ADMINMAIL: admin@email.com
         depends_on:         depends_on:
           - database           - database
Línea 92: Línea 148:
  
 </code> </code>
 +
 +Para iniciar sesión:
 +
 +  * Usuario: ''admin@email.com''
 +  * Contraseña: ''cambiame''
informatica/software/aplicaciones_web/kimai.1608456350.txt.gz · Última modificación: por tempwin