2021-03-22 07:11:25 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
akaunting:
|
2021-05-18 18:11:35 +00:00
|
|
|
container_name: akaunting
|
2021-03-22 07:11:25 +00:00
|
|
|
build:
|
|
|
|
dockerfile: fpm-alpine-nginx.Dockerfile
|
|
|
|
context: .
|
|
|
|
volumes:
|
|
|
|
- akaunting-data:/var/www/html
|
|
|
|
- ./files/php.ini:/usr/local/etc/php/php.ini
|
|
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 8080:80
|
|
|
|
env_file:
|
|
|
|
- env/run.env
|
|
|
|
environment:
|
|
|
|
- AKAUNTING_SETUP
|
|
|
|
depends_on:
|
|
|
|
- akaunting-db
|
|
|
|
|
|
|
|
akaunting-db:
|
2021-05-18 18:11:35 +00:00
|
|
|
container_name: akaunting-db
|
2021-03-22 07:11:25 +00:00
|
|
|
image: mariadb
|
|
|
|
volumes:
|
|
|
|
- akaunting-db:/var/lib/mysql
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
|
|
- env/db.env
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
akaunting-data:
|
|
|
|
akaunting-db:
|