computer-playbook/roles/docker-akaunting/readme.md

37 lines
872 B
Markdown
Raw Normal View History

2022-02-01 17:20:12 +01:00
# 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
2022-02-02 11:06:56 +01:00
AKAUNTING_SETUP=true docker-compose -p akaunting up -d
2022-02-01 17:20:12 +01:00
docker-compose down
2022-02-02 11:06:56 +01:00
docker-compose -p akaunting up -d
2022-02-01 17:20:12 +01:00
```
2022-02-02 11:06:56 +01:00
## rebuild
```bash
cd /home/administrator/docker-compose/akaunting/
export COMPOSE_HTTP_TIMEOUT=600
export DOCKER_CLIENT_TIMEOUT=600
docker-compose down
docker network prune
docker-compose -p akaunting up -d --force-recreate
```
2022-02-01 17:20:12 +01:00
## Further information
- https://github.com/akaunting/docker