mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 22:21:04 +01:00
Optimized akaunting
This commit is contained in:
parent
be6000476f
commit
a27f5e6a59
@ -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
|
||||||
|
25
roles/docker-akaunting/readme.md
Normal file
25
roles/docker-akaunting/readme.md
Normal 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
|
Loading…
Reference in New Issue
Block a user