-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (42 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
44 lines (42 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
services:
invoiceplane:
build: .
image: funktionslust/invoiceplane:latest
container_name: invoiceplane
restart: unless-stopped
ports:
- "8080:80"
environment:
- TZ=UTC
- IP_DB_HOSTNAME=mariadb
- IP_DB_DATABASE=invoiceplane
- IP_DB_USERNAME=invoiceplane
- IP_DB_PASSWORD=change_this_password
- PROXY_NETWORKS=172.16.0.0/12 10.0.0.0/8
- INSTALL_EINVOICE_TEMPLATES=zugferdv23extended
volumes:
- invoiceplane_uploads:/var/www/html/uploads
- invoiceplane_logs:/var/www/html/application/logs
depends_on:
mariadb:
condition: service_healthy
mariadb:
image: mariadb:11.6
container_name: invoiceplane-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=change_this_root_password
- MYSQL_DATABASE=invoiceplane
- MYSQL_USER=invoiceplane
- MYSQL_PASSWORD=change_this_password
volumes:
- mariadb_data:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 10s
timeout: 5s
retries: 5
volumes:
invoiceplane_uploads:
invoiceplane_logs:
mariadb_data: