mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 06:51:04 +01:00
28 lines
538 B
Django/Jinja
28 lines
538 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 %}
|
|
depends_on:
|
|
- database
|
|
|
|
{% include 'templates/docker-mariadb-service.yml.j2' %}
|
|
{% endif %}
|
|
|
|
volumes:
|
|
data:
|
|
{% if not enable_central_database %}
|
|
database:
|
|
{% endif %} |