mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-27 04:25:02 +01:00
28 lines
578 B
Django/Jinja
28 lines
578 B
Django/Jinja
version: '3.7'
|
|
|
|
services:
|
|
application:
|
|
image: docker.io/akaunting/akaunting:{{version_akaunting}}
|
|
build:
|
|
context: .
|
|
ports:
|
|
- 127.0.0.1:{{http_port}}:80
|
|
volumes:
|
|
- data:/var/www/html
|
|
restart: unless-stopped
|
|
env_file:
|
|
- env/run.env
|
|
environment:
|
|
- AKAUNTING_SETUP
|
|
{% if not ( enable_central_database | lower | bool ) %}
|
|
depends_on:
|
|
- database
|
|
|
|
{% include 'templates/docker-mariadb-service.yml.j2' %}
|
|
{% endif %}
|
|
|
|
volumes:
|
|
data:
|
|
{% if not ( enable_central_database | lower | bool ) %}
|
|
database:
|
|
{% endif %} |