Akaunting/docker-compose.yml

36 lines
657 B
YAML

version: '3.7'
services:
akaunting:
image: docker.io/akaunting/akaunting:latest
build:
context: .
ports:
- 8080:80
volumes:
- akaunting-data:/var/www/html/storage
restart: unless-stopped
env_file:
- env/run.env
environment:
- AKAUNTING_SETUP
akaunting-db:
image: mariadb
volumes:
- akaunting-db:/var/lib/mysql
restart: unless-stopped
env_file:
- env/db.env
akaunting-update:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup akaunting akaunting-db
volumes:
akaunting-data:
akaunting-db: