Optimized akaunting

This commit is contained in:
Kevin Veen-Birkenbach 2022-02-01 17:20:12 +01:00
parent d8877d1c6e
commit 5da6954ca0
2 changed files with 28 additions and 1 deletions

View File

@ -1,7 +1,9 @@
--- ---
- name: setup akaunting - name: setup akaunting
command: command:
cmd: docker-compose up -d cmd: docker-compose -p akaunting up -d --force-recreate
chdir: /home/administrator/docker-compose/akaunting/ chdir: /home/administrator/docker-compose/akaunting/
environment: environment:
AKAUNTING_SETUP: true AKAUNTING_SETUP: true
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600

View File

@ -0,0 +1,25 @@
# docker akaunting
## clean up
### delete all containers
```bash
export COMPOSE_HTTP_TIMEOUT=600
export DOCKER_CLIENT_TIMEOUT=600
cd /home/administrator/docker-compose/akaunting/ && docker-compose down
```
### delete all volumes
```bash
docker volume rm akaunting_akaunting-data akaunting_akaunting-db akaunting_akaunting-modules
```
## setup
```bash
cd /home/administrator/docker-compose/akaunting/
export COMPOSE_HTTP_TIMEOUT=600
export DOCKER_CLIENT_TIMEOUT=600
AKAUNTING_SETUP=true docker-compose -p akaunting up -d
docker-compose down
docker-compose up -d
```
## Further information
- https://github.com/akaunting/docker