mirror of https://github.com/akaunting/docker.git
34 lines
569 B
YAML
34 lines
569 B
YAML
|
version: '3.7'
|
||
|
|
||
|
services:
|
||
|
|
||
|
akaunting:
|
||
|
container_name: akaunting
|
||
|
build:
|
||
|
dockerfile: v.Dockerfile
|
||
|
context: .
|
||
|
ports:
|
||
|
- 8080:80
|
||
|
volumes:
|
||
|
- akaunting-data:/var/www/html
|
||
|
restart: unless-stopped
|
||
|
env_file:
|
||
|
- env/run.env
|
||
|
environment:
|
||
|
- AKAUNTING_SETUP
|
||
|
depends_on:
|
||
|
- akaunting-db
|
||
|
|
||
|
akaunting-db:
|
||
|
container_name: akaunting-db
|
||
|
image: mariadb
|
||
|
volumes:
|
||
|
- akaunting-db:/var/lib/mysql
|
||
|
restart: unless-stopped
|
||
|
env_file:
|
||
|
- env/db.env
|
||
|
|
||
|
volumes:
|
||
|
akaunting-data:
|
||
|
akaunting-db:
|