Saltar a contenido

Akaunting

image-20210506104427925

¿Que es este repositorio?

Este repositorio te permitirá desplegar Akaunting que es un programa de contabilidad en línea, de código abierto y gratuito para autónomos y pequeñas empresas. Desde el seguimiento de facturas y gastos a funciones de contabilidad, Akaunting tiene todas las herramientas que necesita para administrar su dinero en línea de forma gratuita.

Configuración

hiveagilectl install akaunting

Ajustar las variables del fichero .env

# You should change this to match your reverse proxy DNS name and protocol
AKAUNTING_HOST=akaunting.hiveagile.dev

APP_URL=https://${AKAUNTING_HOST}
LOCALE=es-ES

# Credentials
# These define the first company to exist on this instance. They are only used during setup.
COMPANY_NAME=HiveAgile
[email protected]

# This will be the first administrative user created on setup.
[email protected]
ADMIN_PASSWORD=HiveAgile2021.


# MySQL Config

MYSQL_DATABASE=akaunting
MYSQL_USER=akaunting
MYSQL_PASSWORD=Tp2SgoqswWwRYySO
MYSQL_RANDOM_ROOT_PASSWORD=yes

# App Config

# Don't change this unless you rename your database container or use rootless podman, in case of using rootless podman you should set it to 127.0.0.1 (NOT localhost)
DB_HOST=akaunting-db
DB_PORT=3306

# Change these to match env/db.env
DB_NAME=${MYSQL_DATABASE}
DB_USERNAME=${MYSQL_USER}
DB_PASSWORD=${MYSQL_PASSWORD}

# You should change this to a random string of three numbers or letters followed by an underscore
DB_PREFIX=asd_

AKAUNTING_HOST

Esta variable define el dominio donde accederas a akaunting, recuerda apuntar previamente el registro DNS de tipo A para que te funcione.

# Credentials

En esta sección podrás configurar los datos de inicio de session de Akaunting

USO

Una vez editado el fichero puesdes ejecutar el contenedor como normalmente.

cd /root/containers/akaunting
make firstrun

Actualizaciones automáticas (Opcional)

Puedes usar watchtower que actualiza todos los contenedores que estan como latest

Esto es algo que pongo en todas las aplicaciones pero no hace falta que se instale cada vez.

docker run -d \
    --name watchtower \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower -i 30

Invitación a mi Canal.

Estás invitado a mi canal de telegram, donde publico más soluciones como esta.

Telegram-iconhttps://t.me/aitorroma


ko-fi