forked from InvoicePlane/InvoicePlane
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
42 lines (40 loc) · 1.03 KB
/
Copy pathcompose.yml
File metadata and controls
42 lines (40 loc) · 1.03 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
services:
app:
build:
context: .
dockerfile: resources/docker/Containerfile
image: c8n.io/mpldr/invoiceplane
ports:
- "4895:80"
environment:
IP_URL: http://localhost:4895
DB_HOSTNAME: db
DB_USERNAME: invoiceplane
DB_PASSWORD: invoiceplane
DB_DATABASE: invoiceplane
ENCRYPTION_KEY: dev-key-change-me-in-production-00
depends_on:
db:
condition: service_healthy
volumes:
- invoiceplane-uploads:/var/www/html/uploads
- invoiceplane-storage:/var/www/html/storage
db:
image: mariadb:11
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: invoiceplane
MARIADB_USER: invoiceplane
MARIADB_PASSWORD: invoiceplane
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
start_period: 10s
interval: 5s
timeout: 5s
retries: 5
volumes:
- invoiceplane-db:/var/lib/mysql
volumes:
invoiceplane-uploads:
invoiceplane-storage:
invoiceplane-db: