informatica:software:aplicaciones_web:kimai
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Próxima revisión | Revisión previa | ||
| informatica:software:aplicaciones_web:kimai [2020/12/20 10:25] – creado tempwin | informatica: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// | + | Herramienta online autoalojable para [[informatica: |
| + | * [[https:// | ||
| + | * [[https:// | ||
| ===== Instalación ===== | ===== Instalación ===== | ||
| ==== Docker ==== | ==== Docker ==== | ||
| + | |||
| + | Contenido de '' | ||
| + | |||
| + | <code nginx> | ||
| + | server { | ||
| + | listen 80; | ||
| + | index index.php; | ||
| + | server_name php-docker.local; | ||
| + | root / | ||
| + | |||
| + | # cache static asset files | ||
| + | location ~* \.(ico|css|js|gif|jpe? | ||
| + | expires max; | ||
| + | log_not_found off; | ||
| + | } | ||
| + | |||
| + | # for health checks | ||
| + | location /health { | ||
| + | return 200 ' | ||
| + | add_header Content-Type text/plain; | ||
| + | } | ||
| + | |||
| + | location / { | ||
| + | # try to serve file directly, fallback to index.php | ||
| + | try_files $uri $uri/ / | ||
| + | } | ||
| + | | ||
| + | location ~ ^/ | ||
| + | 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 < | ||
| + | # fastcgi_param DATABASE_URL " | ||
| + | |||
| + | # When you are using symlinks to link the document root to the | ||
| + | # current version of your application, | ||
| + | # 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:// | ||
| + | # 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:// | ||
| + | # Remove the internal directive to allow URIs like this | ||
| + | internal; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | </ | ||
| '' | '' | ||
| Línea 49: | Línea 105: | ||
| DB_PORT: 6306 | DB_PORT: 6306 | ||
| DB_BASE: kimai | DB_BASE: kimai | ||
| - | ADMINPASS: | + | ADMINPASS: |
| - | ADMINMAIL: | + | ADMINMAIL: |
| depends_on: | depends_on: | ||
| - database | - database | ||
| Línea 92: | Línea 148: | ||
| </ | </ | ||
| + | |||
| + | Para iniciar sesión: | ||
| + | |||
| + | * Usuario: '' | ||
| + | * Contraseña: | ||
informatica/software/aplicaciones_web/kimai.1608456350.txt.gz · Última modificación: por tempwin
