Akaunting/docker-compose.yml

42 lines
826 B
YAML
Raw Normal View History

version: '3.7'
2019-11-05 15:06:24 +00:00
services:
akaunting:
2021-05-18 18:11:35 +00:00
container_name: akaunting
image: docker.io/akaunting/akaunting:latest
build:
context: .
ports:
- 8080:80
volumes:
- akaunting-data:/var/www/html/storage
2021-03-02 11:29:07 +00:00
- akaunting-modules:/var/www/html/modules
restart: unless-stopped
env_file:
- env/run.env
environment:
- AKAUNTING_SETUP
2021-02-04 02:14:14 +00:00
depends_on:
- akaunting-db
akaunting-db:
2021-05-18 18:11:35 +00:00
container_name: 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
2020-04-15 03:52:37 +00:00
volumes:
akaunting-data:
2021-03-02 11:29:07 +00:00
akaunting-modules:
akaunting-db: