2019-11-16 09:50:54 +00:00
|
|
|
version: '3.7'
|
2019-11-07 19:05:10 +00:00
|
|
|
|
2019-11-05 15:06:24 +00:00
|
|
|
services:
|
2021-01-27 00:27:26 +00:00
|
|
|
|
|
|
|
akaunting:
|
|
|
|
image: docker.io/akaunting/akaunting:latest
|
|
|
|
build:
|
|
|
|
context: .
|
2019-11-07 19:05:10 +00:00
|
|
|
ports:
|
2019-11-16 09:50:54 +00:00
|
|
|
- 8080:80
|
|
|
|
volumes:
|
2021-01-27 00:27:26 +00:00
|
|
|
- akaunting-data:/var/www/html/storage
|
2021-03-02 11:29:07 +00:00
|
|
|
- akaunting-modules:/var/www/html/modules
|
2019-11-16 09:50:54 +00:00
|
|
|
restart: unless-stopped
|
2021-01-27 00:27:26 +00:00
|
|
|
env_file:
|
|
|
|
- env/run.env
|
|
|
|
environment:
|
|
|
|
- AKAUNTING_SETUP
|
2021-02-04 02:14:14 +00:00
|
|
|
depends_on:
|
|
|
|
- akaunting-db
|
2019-11-16 09:50:54 +00:00
|
|
|
|
2021-01-27 00:27:26 +00:00
|
|
|
akaunting-db:
|
|
|
|
image: mariadb
|
2019-11-07 19:05:10 +00:00
|
|
|
volumes:
|
2021-01-27 00:27:26 +00:00
|
|
|
- akaunting-db:/var/lib/mysql
|
2019-11-16 09:50:54 +00:00
|
|
|
restart: unless-stopped
|
2021-01-27 00:27:26 +00:00
|
|
|
env_file:
|
|
|
|
- env/db.env
|
2019-11-07 19:05:10 +00:00
|
|
|
|
2021-01-27 00:27:26 +00:00
|
|
|
akaunting-update:
|
|
|
|
image: containrrr/watchtower
|
2019-11-16 09:50:54 +00:00
|
|
|
volumes:
|
2021-01-27 00:27:26 +00:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
command: --cleanup akaunting akaunting-db
|
2020-04-15 03:52:37 +00:00
|
|
|
|
2019-11-16 09:50:54 +00:00
|
|
|
volumes:
|
2021-01-27 00:27:26 +00:00
|
|
|
akaunting-data:
|
2021-03-02 11:29:07 +00:00
|
|
|
akaunting-modules:
|
2021-01-27 00:27:26 +00:00
|
|
|
akaunting-db:
|