Docker Image for Akaunting
Go to file
Cüneyt Şentürk 3eb53220c4
Merge pull request #104 from sevannerse/master
Fix installation issue
2023-11-21 12:22:07 +03:00
.github/workflows closes #69; Revive ARM support 2022-11-10 07:06:12 +03:00
env Change DB_DATABASE to DB_NAME 2022-08-04 12:45:50 +03:00
files Fix app installed variable should be set false 2023-11-16 15:46:58 +03:00
nginx Add new ways to explore containerized Akaunting! 2021-03-22 10:11:25 +03:00
.gitignore Drop the watchtower and simplify volumes 2023-02-25 17:39:18 +03:00
Dockerfile Add Akaunting 3 compatibility 2022-06-01 10:42:01 +03:00
LICENSE.txt fixed #15 2021-01-29 11:19:02 +03:00
README.md read me 2023-01-29 18:03:11 +03:00
docker-compose.yml Drop the watchtower and simplify volumes 2023-02-25 17:39:18 +03:00
fpm-alpine-docker-compose.yml Add new ways to explore containerized Akaunting! 2021-03-22 10:11:25 +03:00
fpm-alpine-nginx-composer-docker-compose.yml Add image that has npm and composer 2021-03-22 16:15:39 +03:00
fpm-alpine-nginx-composer-supervisor-docker-compose.yml New Akaunting with Supervisor image 2021-06-18 18:29:24 +03:00
fpm-alpine-nginx-composer-supervisor.Dockerfile Add Akaunting 3 compatibility 2022-06-01 10:42:01 +03:00
fpm-alpine-nginx-composer.Dockerfile Add Akaunting 3 compatibility 2022-06-01 10:42:01 +03:00
fpm-alpine-nginx-docker-compose.yml New Akaunting with Supervisor image 2021-06-18 18:29:24 +03:00
fpm-alpine-nginx.Dockerfile Add Akaunting 3 compatibility 2022-06-01 10:42:01 +03:00
fpm-alpine.Dockerfile Add Akaunting 3 compatibility 2022-06-01 10:42:01 +03:00
fpm-docker-compose.yml Add container_name to compose files 2021-05-18 21:11:35 +03:00
fpm.Dockerfile Add Akaunting 3 compatibility 2022-06-01 10:42:01 +03:00
v-docker-compose.yml Drop the watchtower and simplify volumes 2023-02-25 17:39:18 +03:00
v.Dockerfile Add Redis support to Akaunting V setup 2022-08-19 08:07:57 +03:00

README.md

Akaunting Docker Image

You can pull the latest image with docker pull docker.io/akaunting/akaunting:latest

Description

This repository defines how the official Akaunting images are built for Docker Hub.

Akaunting is online, open source and free accounting software built with modern technologies. Track your income and expenses with ease. For more information on Akaunting, please visit the website.

Usage

git clone https://github.com/akaunting/docker
cd docker
cp env/db.env.example env/db.env
vi env/db.env # and set things
cp env/run.env.example env/run.env
vi env/run.env # and set things

AKAUNTING_SETUP=true docker-compose up -d

Then head to HTTP at port 8080 on the docker-compose host and finish configuring your Akaunting company through the interactive wizard.

After setup is complete, bring the containers down before bringing them back up without the setup variable.

docker-compose down
docker-compose up -d

Please never use AKAUNTING_SETUP=true environment variable again after the first time use.

If you have a database cluster you can take advantage of the following environment variables:

# In env/run.env put:
DB_HOST_WRITE: "example-write"
DB_HOST_READ: "example-read"

You can use Redis with Akaunting for performance enhancement and scalability, if you have a Redis you can take advantage of the following environment variables:

# In env/run.env put:
REDIS_HOST: "example-redis"
# Switch cache driver to redis
CACHE_DRIVER: "redis"
# Switch session driver to redis
SESSION_DRIVER: "redis"
# Switch queue driver to redis
QUEUE_CONNECTION: "redis"

Extra ways to explore containerized Akaunting!

This repository contains extra compose and other files that allows you to run Akaunting in different setups like using FPM and NGINX and here is the most important commands that you may need:

# Run Akaunting setup that checks for volume files before copying them.
AKAUNTING_SETUP=true docker-compose -f v-docker-compose.yml up --build

# Run Akaunting with FPM on Debian and use Nginx as external proxy
AKAUNTING_SETUP=true docker-compose -f fpm-docker-compose.yml up --build

# Run Akaunting using FPM on Alpine and using Nginx as external proxy
AKAUNTING_SETUP=true docker-compose -f fpm-docker-compose.yml -f fpm-alpine-docker-compose.yml up --build

# Run Akaunting using FPM on Alpine and using Nginx as internal proxy
AKAUNTING_SETUP=true docker-compose -f fpm-alpine-nginx-docker-compose.yml up --build

# Download Akaunting using git and install composer and npm and run Akaunting using FPM on Alpine and using Nginx as internal proxy
AKAUNTING_SETUP=true docker-compose -f fpm-alpine-nginx-docker-compose.yml -f fpm-alpine-nginx-composer-docker-compose.yml up --build

# Download Akaunting using git and install composer and npm and run Akaunting using FPM on Alpine and using Nginx as internal proxy and supervisor to manage the queues
AKAUNTING_SETUP=true docker-compose -f fpm-alpine-nginx-docker-compose.yml -f fpm-alpine-nginx-composer-supervisor-docker-compose.yml up --build

License

Akaunting is released under the GPLv3 license.