mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-01 03:57:25 +01:00
Compare commits
841 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f79afe3dcf | ||
|
|
720d17aac0 | ||
|
|
8d53a0d915 | ||
|
|
a29e6f3d18 | ||
|
|
48fd2fdf9d | ||
|
|
97c2a4cf27 | ||
|
|
026d00dea0 | ||
|
|
7848cf055a | ||
|
|
5434c1e6da | ||
|
|
de60faec4d | ||
|
|
41c0b26efb | ||
|
|
670eb2ce33 | ||
|
|
ea35d304df | ||
|
|
64382d89ad | ||
|
|
7dfe1dadc1 | ||
|
|
7d518c24dc | ||
|
|
a4289dffa3 | ||
|
|
54e5031703 | ||
|
|
7eee4e770e | ||
|
|
cc2cc537b5 | ||
|
|
5361a2dabf | ||
|
|
de1a30979d | ||
|
|
26aa6b45c1 | ||
|
|
4de9066b39 | ||
|
|
65fbd0bd5d | ||
|
|
eecea97f7c | ||
|
|
ad2a8b35dc | ||
|
|
6f9de01d3b | ||
|
|
fa5d522a36 | ||
|
|
84a42794d3 | ||
|
|
9cd585678c | ||
|
|
8899d3e956 | ||
|
|
f22c7b4f59 | ||
|
|
d728221b0b | ||
|
|
be451b454f | ||
|
|
184564e022 | ||
|
|
2f31fc0da8 | ||
|
|
7a37b9641d | ||
|
|
1917de0046 | ||
|
|
c9f91b4a45 | ||
|
|
0117fbd93e | ||
|
|
fc7b94a223 | ||
|
|
281b6a15a4 | ||
|
|
5e6d21646c | ||
|
|
17c1705fe7 | ||
|
|
9180712245 | ||
|
|
94582c4658 | ||
|
|
3e5035478d | ||
|
|
4e80bc01d0 | ||
|
|
6e73e3af9d | ||
|
|
9944d43f0b | ||
|
|
5eefcecf47 | ||
|
|
f80e7f2ec3 | ||
|
|
f5821630fa | ||
|
|
1848f11a36 | ||
|
|
f96d4d4aa0 | ||
|
|
5d29d3a052 | ||
|
|
0c607953ec | ||
|
|
ebc6c3642a | ||
|
|
ec35498159 | ||
|
|
4bff59808e | ||
|
|
217c05bd1f | ||
|
|
24d1f9cd2e | ||
|
|
9a3603b709 | ||
|
|
c2bf3ca8d9 | ||
|
|
1c3f96e723 | ||
|
|
2364f53777 | ||
|
|
7bfbe9ee03 | ||
|
|
afd597456f | ||
|
|
243f46bd23 | ||
|
|
6dfaa3b441 | ||
|
|
6d0e0648e3 | ||
|
|
85979fdcf2 | ||
|
|
377c068667 | ||
|
|
da7f8d93b0 | ||
|
|
1d475a5218 | ||
|
|
3a8184df73 | ||
|
|
0c796fee5f | ||
|
|
bc5aa2e844 | ||
|
|
295bb6268b | ||
|
|
ff636077d4 | ||
|
|
247f946422 | ||
|
|
4c50bbad19 | ||
|
|
2e22177b20 | ||
|
|
dfc392580e | ||
|
|
260980f2a3 | ||
|
|
57724b7d93 | ||
|
|
39b6680f0b | ||
|
|
768df3c1dd | ||
|
|
7870b345ed | ||
|
|
3c6ed5cda1 | ||
|
|
2f43d4b45a | ||
|
|
a71af868d2 | ||
|
|
237abe4aa8 | ||
|
|
f680c8a59a | ||
|
|
8f51f3bc51 | ||
|
|
e4c26dde5d | ||
|
|
9c96e9d261 | ||
|
|
e1cde6b6be | ||
|
|
068acdd097 | ||
|
|
95aec27c65 | ||
|
|
6c6950d298 | ||
|
|
3394694ffc | ||
|
|
99f280319c | ||
|
|
470a3d036d | ||
|
|
514ebb74c6 | ||
|
|
dc3b87140f | ||
|
|
c0afd971e1 | ||
|
|
677cc44a15 | ||
|
|
91c7b1ea2a | ||
|
|
a508ccc41e | ||
|
|
d42f66617c | ||
|
|
8746015041 | ||
|
|
53c38b65f9 | ||
|
|
473e38259f | ||
|
|
d538666600 | ||
|
|
0ace427585 | ||
|
|
8c1357fc4c | ||
|
|
806a340a00 | ||
|
|
d437dab72c | ||
|
|
d64ed83abf | ||
|
|
337f38e0dc | ||
|
|
5d5c036175 | ||
|
|
d5ed1935f7 | ||
|
|
5e40e34943 | ||
|
|
c4e1d0e3a5 | ||
|
|
84dcb8caab | ||
|
|
733e72d5dd | ||
|
|
7eaf6968d2 | ||
|
|
66408fccb2 | ||
|
|
79647d4f8c | ||
|
|
067b5eb194 | ||
|
|
eed358c32b | ||
|
|
71909c73e0 | ||
|
|
fab57c9db3 | ||
|
|
e7bc565745 | ||
|
|
87092bb8bd | ||
|
|
5abd297c7f | ||
|
|
8be252781f | ||
|
|
f281b33ea1 | ||
|
|
22d170a4e5 | ||
|
|
f722c91d21 | ||
|
|
641b527702 | ||
|
|
d139a48303 | ||
|
|
a75b6f0a00 | ||
|
|
113c700754 | ||
|
|
b6be06c977 | ||
|
|
8c53895c97 | ||
|
|
8204465048 | ||
|
|
baad65c737 | ||
|
|
9fd35b874d | ||
|
|
fe4993f8a3 | ||
|
|
b83fb831b9 | ||
|
|
687e74c983 | ||
|
|
7644151370 | ||
|
|
c84f80f9a9 | ||
|
|
6cfdca078f | ||
|
|
74ed1b2432 | ||
|
|
b3b7f7b9f0 | ||
|
|
a6d8f663ae | ||
|
|
3024f11a31 | ||
|
|
6274c432d9 | ||
|
|
f5afd3f527 | ||
|
|
3ce5983131 | ||
|
|
bfc61fb64e | ||
|
|
535d6d4c06 | ||
|
|
24d49a4374 | ||
|
|
30ad63f306 | ||
|
|
60fd0aa79e | ||
|
|
d1786100ca | ||
|
|
f58ca724c9 | ||
|
|
53cadbf750 | ||
|
|
3fca330958 | ||
|
|
7d79b39bc2 | ||
|
|
aa271a1488 | ||
|
|
451c1b872f | ||
|
|
5c74753da2 | ||
|
|
83f17aa669 | ||
|
|
394c4c8b5e | ||
|
|
9ed63a6762 | ||
|
|
cb6d6d46c2 | ||
|
|
3b0e475de6 | ||
|
|
d5bb90fa04 | ||
|
|
1b62d86659 | ||
|
|
4431abcb88 | ||
|
|
d05e55a24e | ||
|
|
34e5043317 | ||
|
|
6f92d1c155 | ||
|
|
11330003a2 | ||
|
|
47b015af7c | ||
|
|
c6648a8511 | ||
|
|
de2036adff | ||
|
|
ea8c5fed8e | ||
|
|
c2f8cedc4a | ||
|
|
7ddfe8a793 | ||
|
|
196e66e06d | ||
|
|
7498a94bd1 | ||
|
|
8289c6c65e | ||
|
|
b75ac4fd87 | ||
|
|
94d3f6212e | ||
|
|
a940bf2ed2 | ||
|
|
76ca42bddb | ||
|
|
84194970b3 | ||
|
|
919e15fb40 | ||
|
|
2b8bb21d04 | ||
|
|
8ff82909c8 | ||
|
|
7ce743bd91 | ||
|
|
ffc777d5f1 | ||
|
|
1446bfabfc | ||
|
|
5ae3240677 | ||
|
|
1fc60549c2 | ||
|
|
a5ad84f22b | ||
|
|
e5847a6ff1 | ||
|
|
1c1bc350dc | ||
|
|
e83372d437 | ||
|
|
22b2f5416a | ||
|
|
dbb671eeab | ||
|
|
baf7b2bff7 | ||
|
|
db7c7de624 | ||
|
|
e8b62de217 | ||
|
|
065a7f94e6 | ||
|
|
47c2ee05b9 | ||
|
|
adeba71a55 | ||
|
|
65d5904f35 | ||
|
|
00a346853c | ||
|
|
ee74e6170c | ||
|
|
857eaf86bb | ||
|
|
b8dbe76900 | ||
|
|
bf07c49d31 | ||
|
|
397d19c06d | ||
|
|
4d16fb2efc | ||
|
|
01b30fdb1a | ||
|
|
814b8bd283 | ||
|
|
201a229ec7 | ||
|
|
1a144db29a | ||
|
|
655e7b61ea | ||
|
|
113ed64aee | ||
|
|
6430ddcb92 | ||
|
|
7a9d5f7187 | ||
|
|
eeaaf95d47 | ||
|
|
b338ef90cb | ||
|
|
1f778c0945 | ||
|
|
b65257db66 | ||
|
|
9941847af7 | ||
|
|
edf21b5d4f | ||
|
|
7acd479cfd | ||
|
|
bed751ce18 | ||
|
|
303bc81d3d | ||
|
|
47e5c41a19 | ||
|
|
89a994b12f | ||
|
|
5984339118 | ||
|
|
47dba02b27 | ||
|
|
1aca36878c | ||
|
|
cf324703a8 | ||
|
|
df2ea66cda | ||
|
|
02eed022ac | ||
|
|
738546d7b1 | ||
|
|
e31a2b77bc | ||
|
|
50debff2da | ||
|
|
492d895d06 | ||
|
|
51294f6b76 | ||
|
|
81617a3dec | ||
|
|
a874ceb7c2 | ||
|
|
4a3d8783d4 | ||
|
|
84a6637f80 | ||
|
|
821f3f5ec7 | ||
|
|
dafd4051d3 | ||
|
|
c6b44487f3 | ||
|
|
b2e03ce544 | ||
|
|
78fd70118a | ||
|
|
59616eada8 | ||
|
|
0fab60378a | ||
|
|
47db01612d | ||
|
|
1a1cea632b | ||
|
|
5609b988f3 | ||
|
|
0f9d39998f | ||
|
|
fd01abb0a0 | ||
|
|
6887e2b30a | ||
|
|
6faf1dc135 | ||
|
|
d7cd59c80f | ||
|
|
8206377870 | ||
|
|
93214291c9 | ||
|
|
f3477e6e80 | ||
|
|
d766e8284c | ||
|
|
08e24b4b01 | ||
|
|
43cc7417ba | ||
|
|
150abf1d6e | ||
|
|
31b3d309b3 | ||
|
|
cb74a1f93b | ||
|
|
f566ec5715 | ||
|
|
91cc86af6d | ||
|
|
7bac478538 | ||
|
|
f93fa6b874 | ||
|
|
d9a40ebb43 | ||
|
|
db5d0ebf50 | ||
|
|
926b3d618b | ||
|
|
85d256a435 | ||
|
|
acf9c22ff7 | ||
|
|
b0ebac9719 | ||
|
|
65c5ceb69b | ||
|
|
6aa39b4b57 | ||
|
|
c4ac430d1b | ||
|
|
87066953d3 | ||
|
|
3969a37852 | ||
|
|
bec60de1e7 | ||
|
|
c0150debbf | ||
|
|
f45261617f | ||
|
|
21b6cf1f26 | ||
|
|
d3a4948641 | ||
|
|
a9a6b72c7a | ||
|
|
4fd6ca33c8 | ||
|
|
bca8404f5f | ||
|
|
3cf7c28875 | ||
|
|
96dee55e7f | ||
|
|
ae592a8407 | ||
|
|
b72757ead0 | ||
|
|
a20fc14683 | ||
|
|
0e2934d1e3 | ||
|
|
fefc51ccf1 | ||
|
|
acdd6851ff | ||
|
|
6ff8e04aa7 | ||
|
|
86f1dd43cf | ||
|
|
cc1f569324 | ||
|
|
c78f7a7bdf | ||
|
|
7198222787 | ||
|
|
4ef4531a4e | ||
|
|
c51d113abe | ||
|
|
dddd558873 | ||
|
|
5727550983 | ||
|
|
03536efb6a | ||
|
|
6a05bdbbd5 | ||
|
|
e5debf03d4 | ||
|
|
33a55e362b | ||
|
|
70e1de9a95 | ||
|
|
e1b113bba1 | ||
|
|
c967aaccf4 | ||
|
|
15aefa698b | ||
|
|
c9beedc84b | ||
|
|
d409d9696a | ||
|
|
7d977a41e3 | ||
|
|
8db5c792a8 | ||
|
|
b3768cbed3 | ||
|
|
25d2d1d271 | ||
|
|
abfb5d1338 | ||
|
|
300c2d236d | ||
|
|
56e451ea8b | ||
|
|
ad3ffc227d | ||
|
|
e64db79c75 | ||
|
|
5fcad81fc2 | ||
|
|
2e383ef879 | ||
|
|
bb6b3dc1e8 | ||
|
|
4a7b28f1d0 | ||
|
|
1699ddde65 | ||
|
|
63431878b8 | ||
|
|
03cc1ff548 | ||
|
|
4aa7a7032c | ||
|
|
4fa02c2785 | ||
|
|
d25210c8b9 | ||
|
|
f97fdda827 | ||
|
|
5188c45b41 | ||
|
|
e3873bcac2 | ||
|
|
24ef742ce1 | ||
|
|
886dfe7832 | ||
|
|
0054620e55 | ||
|
|
4b82f750fc | ||
|
|
97d339df4e | ||
|
|
906cfb0c87 | ||
|
|
62a7f6d7cf | ||
|
|
1d97234b51 | ||
|
|
aab280dcc1 | ||
|
|
faffcadc45 | ||
|
|
25b3654a53 | ||
|
|
46cd35bf32 | ||
|
|
53b4e6dafd | ||
|
|
27b6c82fe4 | ||
|
|
64fdd58ba9 | ||
|
|
85519a0038 | ||
|
|
5d5f34b7e7 | ||
|
|
774b8cb6eb | ||
|
|
76a0886278 | ||
|
|
2bac5707ae | ||
|
|
c17e37c4b8 | ||
|
|
08f9493f0d | ||
|
|
40f483a32d | ||
|
|
eb58c26ebf | ||
|
|
d50bfde676 | ||
|
|
c12e985f81 | ||
|
|
8ef0df3d41 | ||
|
|
f55e9a2b49 | ||
|
|
e3f47d2932 | ||
|
|
1636faf40d | ||
|
|
ea285c41ec | ||
|
|
1537b87a3d | ||
|
|
225c0eb275 | ||
|
|
34878d0f93 | ||
|
|
8b9e69d51b | ||
|
|
7238e521e6 | ||
|
|
5a1bf5c430 | ||
|
|
7a935a0eef | ||
|
|
ff897d568f | ||
|
|
b0bb0ffd25 | ||
|
|
3902b40bc1 | ||
|
|
29e2d93e59 | ||
|
|
b7aea66e62 | ||
|
|
e2db08f207 | ||
|
|
59291d8687 | ||
|
|
6f747207ec | ||
|
|
c2aabd14ac | ||
|
|
07f1e601ab | ||
|
|
13423d38c0 | ||
|
|
e34ac95617 | ||
|
|
6c68882449 | ||
|
|
8e9e7c47da | ||
|
|
7da83b40f4 | ||
|
|
1b48ab6983 | ||
|
|
14357b93a1 | ||
|
|
8a68fda3f3 | ||
|
|
4ee20766ef | ||
|
|
5ba28528c3 | ||
|
|
9388f66a29 | ||
|
|
b445cf0402 | ||
|
|
11c8901fe4 | ||
|
|
3814e957e0 | ||
|
|
62b1d8cb94 | ||
|
|
4cd773700e | ||
|
|
9f6e086633 | ||
|
|
8df49feaf8 | ||
|
|
de856d0a88 | ||
|
|
1f7458c9f7 | ||
|
|
40e3add863 | ||
|
|
f4f8c79ce7 | ||
|
|
524e79c486 | ||
|
|
4ec70c8da6 | ||
|
|
176e2c96d6 | ||
|
|
36db897022 | ||
|
|
022cf8c1e8 | ||
|
|
517ef61313 | ||
|
|
8e75344717 | ||
|
|
e19641f754 | ||
|
|
789e49fe1b | ||
|
|
d462cd64ed | ||
|
|
51629ef283 | ||
|
|
8d37d6a4c5 | ||
|
|
a604f4e8b6 | ||
|
|
18fb27ad9f | ||
|
|
ff1dfee088 | ||
|
|
f16815e960 | ||
|
|
c0350de418 | ||
|
|
f175fa4fb0 | ||
|
|
0d93596cde | ||
|
|
10aaf3fb6e | ||
|
|
8117d0c5bd | ||
|
|
fef92891cb | ||
|
|
7f415803fb | ||
|
|
1caa8c7e70 | ||
|
|
e35653fe59 | ||
|
|
4d7cc8e464 | ||
|
|
f42fc93aa5 | ||
|
|
c6e122b81f | ||
|
|
421a1f10e6 | ||
|
|
84db77cde8 | ||
|
|
e8706de11c | ||
|
|
f9f79ceb21 | ||
|
|
960a85d8a7 | ||
|
|
6cd85f48cd | ||
|
|
eca3af3da5 | ||
|
|
b141cfe449 | ||
|
|
3104ec0be9 | ||
|
|
acd778f815 | ||
|
|
0641860c3f | ||
|
|
f6564ffb14 | ||
|
|
d751217d9a | ||
|
|
9bd40b98df | ||
|
|
54f789d5a1 | ||
|
|
a6644abaa2 | ||
|
|
d42e333248 | ||
|
|
2e4ccb920b | ||
|
|
ebe353ca52 | ||
|
|
1af91f451d | ||
|
|
386f6ed8c1 | ||
|
|
73e88f6042 | ||
|
|
758709a796 | ||
|
|
a67de32b6e | ||
|
|
49d3e562de | ||
|
|
7d4afadbb5 | ||
|
|
3709355309 | ||
|
|
4b63e1f76d | ||
|
|
5118eac0ea | ||
|
|
486d38d6e1 | ||
|
|
89ae36315d | ||
|
|
0c3237d3b9 | ||
|
|
e29f786b34 | ||
|
|
bfc5625687 | ||
|
|
4b5abbbd5e | ||
|
|
a12f18836a | ||
|
|
d59d534ac5 | ||
|
|
35d9ee80b7 | ||
|
|
115b997cab | ||
|
|
8ca8e459be | ||
|
|
15625f41f9 | ||
|
|
9dc1fec1fb | ||
|
|
2342fd8cbb | ||
|
|
ae1f8fcecb | ||
|
|
6528ef7162 | ||
|
|
2f6b5ea55e | ||
|
|
7c1ef82a09 | ||
|
|
98846729e6 | ||
|
|
f03860d8ea | ||
|
|
c624f6ed40 | ||
|
|
c94145edca | ||
|
|
ff2c813355 | ||
|
|
e0cf941736 | ||
|
|
b1d65a8ac9 | ||
|
|
e6ad0c58ee | ||
|
|
11b99e7970 | ||
|
|
5fa605cba4 | ||
|
|
388f1a75b9 | ||
|
|
253c3339cf | ||
|
|
d67fa3059a | ||
|
|
98e41ad73b | ||
|
|
14c597312e | ||
|
|
af77440555 | ||
|
|
9377777f62 | ||
|
|
ac7c520620 | ||
|
|
1ae79cde4f | ||
|
|
a58b89c55d | ||
|
|
89e6cffa90 | ||
|
|
a82d60b4f5 | ||
|
|
32c93eb4d7 | ||
|
|
9e603ba79f | ||
|
|
d9889fcfaa | ||
|
|
a89e145bf9 | ||
|
|
85d46e8968 | ||
|
|
0fb5fa73e0 | ||
|
|
de3a2e4278 | ||
|
|
bb514e8d06 | ||
|
|
2034c6ebff | ||
|
|
65e36505a3 | ||
|
|
03c1e32123 | ||
|
|
3612c87323 | ||
|
|
4e9731a23e | ||
|
|
dea442c442 | ||
|
|
a24c1b98a3 | ||
|
|
1596478724 | ||
|
|
a240fd2977 | ||
|
|
7c1ef67755 | ||
|
|
bfc1d7add8 | ||
|
|
111f5a7e4e | ||
|
|
330f3e1c0e | ||
|
|
baeb925d87 | ||
|
|
079a05bbd8 | ||
|
|
8e995aa2ef | ||
|
|
dee4d0f27d | ||
|
|
60e5a68e01 | ||
|
|
67ad43d05d | ||
|
|
35beefba60 | ||
|
|
d1309cc86f | ||
|
|
a1d9220506 | ||
|
|
386359a346 | ||
|
|
b503418904 | ||
|
|
450eaf16e3 | ||
|
|
1f65c9f7f6 | ||
|
|
c02bf7bd03 | ||
|
|
4111fa87c9 | ||
|
|
0d5a7671ba | ||
|
|
7ea6e7c48e | ||
|
|
27e1788e91 | ||
|
|
d24a69ec39 | ||
|
|
8384175465 | ||
|
|
f8c442ec5f | ||
|
|
05f89f064e | ||
|
|
902745ec5a | ||
|
|
4efba38ce5 | ||
|
|
a184cf2844 | ||
|
|
94e8be57e5 | ||
|
|
385a434833 | ||
|
|
9ddeda4c32 | ||
|
|
805e526fc9 | ||
|
|
cdc35aff2f | ||
|
|
1de16ab390 | ||
|
|
b9ab50800d | ||
|
|
d2d03b9b18 | ||
|
|
ea0f3fa981 | ||
|
|
1d9a8681b2 | ||
|
|
f98b3915bd | ||
|
|
8762276c6f | ||
|
|
afcd9389ed | ||
|
|
591c799864 | ||
|
|
4c9c5ddd95 | ||
|
|
994d75a07e | ||
|
|
3348a2beb6 | ||
|
|
c30cae4a99 | ||
|
|
1ed95cdcec | ||
|
|
94126385e2 | ||
|
|
e64dd79cfc | ||
|
|
5942c1c362 | ||
|
|
78b5e59cd5 | ||
|
|
d1a8922f7d | ||
|
|
d87e5948bf | ||
|
|
f4cade9fac | ||
|
|
49f4266418 | ||
|
|
e7f6ef4c35 | ||
|
|
1af469cf04 | ||
|
|
2d934fd703 | ||
|
|
a7668325e8 | ||
|
|
7aef08794b | ||
|
|
001c922e45 | ||
|
|
85161446e9 | ||
|
|
14c0fd89eb | ||
|
|
7b08926961 | ||
|
|
a5e41d3072 | ||
|
|
72e07679eb | ||
|
|
6d65f5e114 | ||
|
|
61cef26f80 | ||
|
|
e2d6cbd853 | ||
|
|
21cc3ddf2c | ||
|
|
8245a57117 | ||
|
|
6b25f47ba1 | ||
|
|
1168dec11b | ||
|
|
f81e0c8f11 | ||
|
|
3e2d5a4f8c | ||
|
|
42e2c2234e | ||
|
|
4e05229fed | ||
|
|
c5fb1ab64b | ||
|
|
b190c8e633 | ||
|
|
4350619c64 | ||
|
|
a38b398d5d | ||
|
|
3f8fb906b5 | ||
|
|
8962e0d0b9 | ||
|
|
fc6923ad40 | ||
|
|
3b907d6093 | ||
|
|
431f11ccd4 | ||
|
|
2de45a45ab | ||
|
|
6037ebf2c2 | ||
|
|
685801983a | ||
|
|
f1a5f6fc7b | ||
|
|
6cbdec0686 | ||
|
|
4c855161f6 | ||
|
|
1447268f94 | ||
|
|
c0c13705ae | ||
|
|
11869a23a1 | ||
|
|
39bc2f0d89 | ||
|
|
0ff6e56ed8 | ||
|
|
ac5f1bfad5 | ||
|
|
fb064cb05e | ||
|
|
a84ec51b3f | ||
|
|
e2cafb8b72 | ||
|
|
672fc41611 | ||
|
|
eeffc2191c | ||
|
|
8a6622bbbb | ||
|
|
4f3f7ca8fe | ||
|
|
9e8db1b5bd | ||
|
|
6bcfd57208 | ||
|
|
db9e0f4309 | ||
|
|
cb91ba9973 | ||
|
|
9060027999 | ||
|
|
26c91935fc | ||
|
|
7c5275e766 | ||
|
|
482b30b677 | ||
|
|
7a45036c72 | ||
|
|
a963db2b63 | ||
|
|
26a71f7f1f | ||
|
|
af98f696b9 | ||
|
|
696d3b356a | ||
|
|
0ef00831f6 | ||
|
|
6ba1f11221 | ||
|
|
933748e15b | ||
|
|
03180fc65e | ||
|
|
e0fcb50ecb | ||
|
|
5c418c474e | ||
|
|
5e59ec10e3 | ||
|
|
6b0182e712 | ||
|
|
961282a90e | ||
|
|
3a17d81cab | ||
|
|
a3bb9b9681 | ||
|
|
766b604971 | ||
|
|
005e1b9dfe | ||
|
|
8d0a39ac71 | ||
|
|
6e12296f25 | ||
|
|
dbac9305c9 | ||
|
|
3c96683d46 | ||
|
|
279a282d44 | ||
|
|
e0332086d4 | ||
|
|
63ffa18860 | ||
|
|
960c3172e9 | ||
|
|
43ff450c2d | ||
|
|
aaa6118286 | ||
|
|
1ab7bc02d6 | ||
|
|
9625d9d9d0 | ||
|
|
3bd5324136 | ||
|
|
e28c8dc07b | ||
|
|
4ab4039887 | ||
|
|
650851811a | ||
|
|
72762dc964 | ||
|
|
dc66ca0544 | ||
|
|
52992d622b | ||
|
|
9dcf825f85 | ||
|
|
350a9fad35 | ||
|
|
d8ca192f8e | ||
|
|
b6d213682d | ||
|
|
0d88a6268f | ||
|
|
c641680309 | ||
|
|
47116c7d78 | ||
|
|
41544ec1e0 | ||
|
|
f3b5a62d36 | ||
|
|
69d2f54b03 | ||
|
|
5a1c1c16d7 | ||
|
|
3ade74efc9 | ||
|
|
dc00f6a604 | ||
|
|
3ef75b29ff | ||
|
|
e6df981f06 | ||
|
|
27bdb5d95b | ||
|
|
206fe5db2d | ||
|
|
4e5022fcc4 | ||
|
|
ded7e32051 | ||
|
|
d2ae9b365b | ||
|
|
612645fad2 | ||
|
|
192f6d7648 | ||
|
|
083fe9648e | ||
|
|
6ad5e6ec48 | ||
|
|
13487557e6 | ||
|
|
16f77b069e | ||
|
|
58c4eb66d4 | ||
|
|
d044303647 | ||
|
|
09b5b84750 | ||
|
|
2932f92f4c | ||
|
|
3ad282ac29 | ||
|
|
507451d7ca | ||
|
|
2d563e4b73 | ||
|
|
991b22e121 | ||
|
|
c4e8f3ea0b | ||
|
|
ee272cd52f | ||
|
|
a60567ae16 | ||
|
|
d81542e536 | ||
|
|
19333d150a | ||
|
|
ad1c976a31 | ||
|
|
bd7153a0b7 | ||
|
|
c1fde99ad4 | ||
|
|
c7d901f8c3 | ||
|
|
e432564e48 | ||
|
|
2d42e33da0 | ||
|
|
00ae03ce24 | ||
|
|
5f4e58ba77 | ||
|
|
b822d9d53a | ||
|
|
8a935f042e | ||
|
|
ddb96915cf | ||
|
|
c90e0dd42b | ||
|
|
5d2760a47a | ||
|
|
e0f46d2034 | ||
|
|
ce4cf2118b | ||
|
|
17759c3df7 | ||
|
|
c97fd64020 | ||
|
|
467960061b | ||
|
|
2dfa7e1edd | ||
|
|
475b3e7121 | ||
|
|
7c40a5a813 | ||
|
|
b92c8d928e | ||
|
|
0ed2a1cf4c | ||
|
|
43bb842598 | ||
|
|
8c1c2488bd | ||
|
|
baf2459f72 | ||
|
|
89ad8ad2bf | ||
|
|
d80a0fa212 | ||
|
|
bce728b558 | ||
|
|
23a8241d13 | ||
|
|
302da0c895 | ||
|
|
81075f2595 | ||
|
|
fae767223f | ||
|
|
a896a49e48 | ||
|
|
4d00017b2a | ||
|
|
9601557224 | ||
|
|
5b1bb1f277 | ||
|
|
2208768dfe | ||
|
|
5690f782b8 | ||
|
|
61cd833979 | ||
|
|
546ee0b139 | ||
|
|
cde6e6ecd1 | ||
|
|
c07242eb1c | ||
|
|
c27b04b63a | ||
|
|
540d3180f1 | ||
|
|
f3811ef09b | ||
|
|
0f114b8827 | ||
|
|
bbc3e5303b | ||
|
|
554233c9ea | ||
|
|
7623fceadf | ||
|
|
375f40c710 | ||
|
|
4ca9be0a6a | ||
|
|
72c23cea15 | ||
|
|
aec8f75414 | ||
|
|
12f011d7ea | ||
|
|
1e6c272b04 | ||
|
|
771f647873 | ||
|
|
7ce608aeff | ||
|
|
77098587a3 | ||
|
|
706fb0fe2c | ||
|
|
ee1f2f6e09 | ||
|
|
27bdd0ec1a | ||
|
|
e53f60dad8 | ||
|
|
b0162488bd | ||
|
|
7caf8c9ea8 | ||
|
|
230856e526 | ||
|
|
1e2bb5744f | ||
|
|
54004f3038 | ||
|
|
9e8717d6d8 | ||
|
|
5ba03e8ccf | ||
|
|
dd9fea1a33 | ||
|
|
4f79c894e6 | ||
|
|
5820915a50 | ||
|
|
7c1a352676 | ||
|
|
ce2dd38f9d | ||
|
|
6c67e98f79 | ||
|
|
72ee5ef29e | ||
|
|
e81f46b9e0 | ||
|
|
bbf20d1390 | ||
|
|
12a6120734 | ||
|
|
2b1923ea7f | ||
|
|
5c9495cabd | ||
|
|
9b649269c7 | ||
|
|
22ea880d1a | ||
|
|
a1037c8459 | ||
|
|
64f7c71fde | ||
|
|
9c57f7ac04 | ||
|
|
5fea425fa9 | ||
|
|
746df6f8a5 | ||
|
|
f7d12106ec | ||
|
|
9e9f86b02f | ||
|
|
f53573d200 | ||
|
|
cef311c024 | ||
|
|
ee81a9d181 | ||
|
|
bd9e15fb3e | ||
|
|
7b040d5343 | ||
|
|
f9c7390138 | ||
|
|
3b801b876c | ||
|
|
56f713bcd3 | ||
|
|
17344e3d47 | ||
|
|
352059a10b | ||
|
|
fec1d175f9 | ||
|
|
8a28648b90 | ||
|
|
96266d42c6 | ||
|
|
5533d5a58a | ||
|
|
951fc81b3e |
58
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
58
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
*** Before creating an issue ***
|
||||
*** Be sure the issue isn't yet reported here or dicussed on stackoverflow ***
|
||||
-->
|
||||
|
||||
**Setup information**
|
||||
<!-- Remove accordingly -->
|
||||
docker run / docker-compose / Helm
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots/logs**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
<!-- Did you check the logs? If any Error is present there please copy/paste it below -->
|
||||
```
|
||||
Any Error that sucks
|
||||
```
|
||||
|
||||
**Docker/Kubernetes/Helm**:
|
||||
- Output of `docker version`:
|
||||
```
|
||||
(paste your output here)
|
||||
```
|
||||
<!-- Additional info if using helm on k8s, add the info below -->
|
||||
<!-- Delete this block if not applicable -->
|
||||
- Output of `helm version`:
|
||||
```
|
||||
(paste your output here)
|
||||
```
|
||||
- Output of `kubectl version`:
|
||||
```
|
||||
(paste your output here)
|
||||
```
|
||||
<!-- End Additional info if using helm on k8s -->
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
6
.github/ct-install.yaml
vendored
Normal file
6
.github/ct-install.yaml
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
chart-dirs:
|
||||
- charts
|
||||
chart-repos:
|
||||
- bitnami=https://charts.bitnami.com/bitnami
|
||||
check-version-increment: true
|
||||
debug: false
|
||||
9
.github/ct-lint.yaml
vendored
Normal file
9
.github/ct-lint.yaml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
chart-dirs:
|
||||
- charts
|
||||
chart-repos:
|
||||
- bitnami=https://charts.bitnami.com/bitnami
|
||||
check-version-increment: true
|
||||
debug: false
|
||||
validate-chart-schema: true
|
||||
validate-maintainers: true
|
||||
validate-yaml: true
|
||||
48
.github/workflows/build-image-octane.yaml
vendored
Normal file
48
.github/workflows/build-image-octane.yaml
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
name: Build Octane Container Image
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- ".github/**"
|
||||
- "octane/**"
|
||||
push:
|
||||
paths:
|
||||
- ".github/**"
|
||||
- "octane/**"
|
||||
|
||||
env:
|
||||
REGISTRY_IMAGE: invoiceninja/invoiceninja-octane
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ startsWith(matrix.platform, 'linux/arm') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY_IMAGE }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build
|
||||
id: build
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: octane
|
||||
platforms: ${{ matrix.platform }}
|
||||
tags: ${{ env.REGISTRY_IMAGE }}
|
||||
outputs: type=image,push-by-digest=true,name-canonical=true
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
166
.github/workflows/publish-image-octane.yaml
vendored
Normal file
166
.github/workflows/publish-image-octane.yaml
vendored
Normal file
@@ -0,0 +1,166 @@
|
||||
name: Publish Octane Container Images
|
||||
|
||||
on:
|
||||
push:
|
||||
tags-ignore:
|
||||
- "invoiceninja-*"
|
||||
|
||||
env:
|
||||
REGISTRY_IMAGE: invoiceninja/invoiceninja-octane
|
||||
|
||||
jobs:
|
||||
version:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
major: ${{ steps.version.outputs.major }}
|
||||
minor: ${{ steps.version.outputs.minor }}
|
||||
url: ${{ steps.version.outputs.url }}
|
||||
steps:
|
||||
- id: version
|
||||
run: |
|
||||
|
||||
VERSION=edge
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
VERSION=${GITHUB_REF#refs/tags/}
|
||||
# Remove -o or -d suffix if present
|
||||
VERSION=${VERSION%-*}
|
||||
fi
|
||||
MAJOR="$(echo "${VERSION}" | cut -d. -f1)"
|
||||
MINOR="$(echo "${VERSION}" | cut -d. -f2)"
|
||||
URL=https://github.com/invoiceninja/invoiceninja/releases/download/v${VERSION}/invoiceninja.tar.gz
|
||||
|
||||
# Debug output
|
||||
echo "Current version: ${VERSION}"
|
||||
echo "Version pattern check: $([[ $VERSION =~ ^5\.[0-9]{1,3}\.[0-9]{1,3}$ ]] && echo "matches" || echo "doesn't match")"
|
||||
|
||||
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
||||
echo "major=${MAJOR}" >> $GITHUB_OUTPUT
|
||||
echo "minor=${MINOR}" >> $GITHUB_OUTPUT
|
||||
echo "url=${URL}" >> $GITHUB_OUTPUT
|
||||
|
||||
build:
|
||||
runs-on: ${{ startsWith(matrix.platform, 'linux/arm') && 'ubuntu-24.04-arm' || 'ubuntu-latest' }}
|
||||
needs:
|
||||
- version
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Prepare
|
||||
id: prep
|
||||
run: |
|
||||
platform=${{ matrix.platform }}
|
||||
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY_IMAGE }}
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build and push by digest
|
||||
id: build
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: octane
|
||||
build-args: URL=${{ needs.version.outputs.url }}
|
||||
platforms: ${{ matrix.platform }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: ${{ env.REGISTRY_IMAGE }}
|
||||
outputs: type=image,push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Export digest
|
||||
run: |
|
||||
mkdir -p ${{ runner.temp }}/digests
|
||||
digest="${{ steps.build.outputs.digest }}"
|
||||
touch "${{ runner.temp }}/digests/${digest#sha256:}"
|
||||
|
||||
- name: Upload digest
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: digests-${{ env.PLATFORM_PAIR }}
|
||||
path: ${{ runner.temp }}/digests/*
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
merge:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- version
|
||||
- build
|
||||
steps:
|
||||
- name: Download digests
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: ${{ runner.temp }}/digests
|
||||
pattern: digests-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY_IMAGE }}
|
||||
tags: |
|
||||
${{ needs.version.outputs.version }}
|
||||
${{ needs.version.outputs.major }}
|
||||
${{ needs.version.outputs.major }}.${{ needs.version.outputs.minor }}
|
||||
latest
|
||||
|
||||
- name: Create manifest list and push
|
||||
working-directory: ${{ runner.temp }}/digests
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
||||
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
|
||||
|
||||
- name: Inspect image
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
run: |
|
||||
docker buildx imagetools inspect ${{ env.REGISTRY_IMAGE }}:${{ steps.meta.outputs.version }}
|
||||
|
||||
Description:
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- merge
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
sparse-checkout: "README.md"
|
||||
|
||||
- name: Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v4
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
repository: ${{ env.REGISTRY_IMAGE }}
|
||||
34
.github/workflows/release-chart.yaml
vendored
Normal file
34
.github/workflows/release-chart.yaml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Release Charts
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "charts/**"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config user.name "$GITHUB_ACTOR"
|
||||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@v3
|
||||
|
||||
- name: Add Helm repos
|
||||
run: |
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
|
||||
- name: Run chart-releaser
|
||||
uses: helm/chart-releaser-action@v1.4.1
|
||||
env:
|
||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
111
.github/workflows/test-charts.yaml
vendored
Normal file
111
.github/workflows/test-charts.yaml
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
name: Lint and Test Charts
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "charts/**"
|
||||
|
||||
jobs:
|
||||
lint-chart:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Helm
|
||||
uses: azure/setup-helm@v3
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
check-latest: true
|
||||
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.3.1
|
||||
|
||||
- name: Run chart-testing (list-changed)
|
||||
id: list-changed
|
||||
run: |
|
||||
echo "::set-output name=changed::[\"$(ct list-changed --config .github/ct-lint.yaml)\"]"
|
||||
|
||||
- name: Parse list-changed
|
||||
id: set-matrix
|
||||
env:
|
||||
CHANGED: ${{ steps.list-changed.outputs.changed }}
|
||||
run: |
|
||||
echo "::set-output name=matrix::$(echo "${CHANGED//\\n/\",\"}")"
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
run: ct lint --config .github/ct-lint.yaml
|
||||
|
||||
kubeconform-chart:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- lint-chart
|
||||
strategy:
|
||||
matrix:
|
||||
chart: ${{ fromJson(needs.lint-chart.outputs.matrix) }}
|
||||
k8s:
|
||||
- "1.25.5"
|
||||
- "1.24.9"
|
||||
- "1.23.15"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Update Helm depdendencies
|
||||
env:
|
||||
CHART_DIR: ${{ matrix.chart }}
|
||||
run: |
|
||||
helm dependency update "${CHART_DIR}"
|
||||
mkdir tmp
|
||||
helm template "${CHART_DIR}" > tmp/combined.yaml
|
||||
|
||||
- uses: yokawasa/action-setup-kube-tools@v0.9.2
|
||||
with:
|
||||
setup-tools: |
|
||||
kubeconform
|
||||
|
||||
- name: Run kubeconform
|
||||
if: ${{ matrix.k8s }}
|
||||
run: kubeconform -kubernetes-version ${{ matrix.k8s }} tmp/combined.yaml
|
||||
|
||||
install-chart:
|
||||
name: install-chart
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- lint-chart
|
||||
- kubeconform-chart
|
||||
strategy:
|
||||
matrix:
|
||||
k8s:
|
||||
- v1.25.3
|
||||
- v1.24.7
|
||||
- v1.23.13
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Create kind ${{ matrix.k8s }} cluster
|
||||
uses: helm/kind-action@v1.4.0
|
||||
with:
|
||||
node_image: kindest/node:${{ matrix.k8s }}
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
check-latest: true
|
||||
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.3.1
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
run: ct install --config .github/ct-install.yaml
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +0,0 @@
|
||||
data
|
||||
76
CODE_OF_CONDUCT.md
Normal file
76
CODE_OF_CONDUCT.md
Normal file
@@ -0,0 +1,76 @@
|
||||
# Contributor Covenant Code of Conduct
|
||||
|
||||
## Our Pledge
|
||||
|
||||
In the interest of fostering an open and welcoming environment, we as
|
||||
contributors and maintainers pledge to making participation in our project and
|
||||
our community a harassment-free experience for everyone, regardless of age, body
|
||||
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
||||
level of experience, education, socio-economic status, nationality, personal
|
||||
appearance, race, religion, or sexual identity and orientation.
|
||||
|
||||
## Our Standards
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment
|
||||
include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or
|
||||
advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic
|
||||
address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a
|
||||
professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
Project maintainers are responsible for clarifying the standards of acceptable
|
||||
behavior and are expected to take appropriate and fair corrective action in
|
||||
response to any instances of unacceptable behavior.
|
||||
|
||||
Project maintainers have the right and responsibility to remove, edit, or
|
||||
reject comments, commits, code, wiki edits, issues, and other contributions
|
||||
that are not aligned to this Code of Conduct, or to ban temporarily or
|
||||
permanently any contributor for other behaviors that they deem inappropriate,
|
||||
threatening, offensive, or harmful.
|
||||
|
||||
## Scope
|
||||
|
||||
This Code of Conduct applies both within project spaces and in public spaces
|
||||
when an individual is representing the project or its community. Examples of
|
||||
representing a project or community include using an official project e-mail
|
||||
address, posting via an official social media account, or acting as an appointed
|
||||
representative at an online or offline event. Representation of a project may be
|
||||
further defined and clarified by project maintainers.
|
||||
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at contact@invoiceninja.com. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
Further details of specific enforcement policies may be posted separately.
|
||||
|
||||
Project maintainers who do not follow or enforce the Code of Conduct in good
|
||||
faith may face temporary or permanent repercussions as determined by other
|
||||
members of the project's leadership.
|
||||
|
||||
## Attribution
|
||||
|
||||
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
||||
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
||||
|
||||
[homepage]: https://www.contributor-covenant.org
|
||||
|
||||
For answers to common questions about this code of conduct, see
|
||||
https://www.contributor-covenant.org/faq
|
||||
62
Dockerfile
62
Dockerfile
@@ -1,62 +0,0 @@
|
||||
FROM php:fpm
|
||||
|
||||
MAINTAINER Samuel Laulhau <sam@lalop.co>
|
||||
|
||||
#####
|
||||
# SYSTEM REQUIREMENT
|
||||
#####
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
libmcrypt-dev zlib1g-dev git libgmp-dev \
|
||||
libfreetype6-dev libjpeg62-turbo-dev libpng12-dev \
|
||||
&& ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/local/include/ \
|
||||
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
|
||||
&& docker-php-ext-configure gmp \
|
||||
&& docker-php-ext-install iconv mcrypt mbstring pdo pdo_mysql zip gd gmp \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
#####
|
||||
# INSTALL COMPOSER
|
||||
#####
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
|
||||
#####
|
||||
# DOWNLOAD AND INSTALL INVOICE NINJA
|
||||
#####
|
||||
|
||||
ENV INVOICENINJA_VERSION 2.5.2.2
|
||||
|
||||
RUN curl -o invoiceninja.tar.gz -SL https://github.com/hillelcoren/invoice-ninja/archive/v${INVOICENINJA_VERSION}.tar.gz \
|
||||
&& tar -xzf invoiceninja.tar.gz -C /var/www/ \
|
||||
&& rm invoiceninja.tar.gz \
|
||||
&& mv /var/www/invoiceninja-${INVOICENINJA_VERSION} /var/www/app \
|
||||
&& chown -R www-data:www-data /var/www/app \
|
||||
&& composer install --working-dir /var/www/app -o --no-dev --no-interaction --no-progress \
|
||||
&& chown -R www-data:www-data /var/www/app/bootstrap/cache \
|
||||
&& mv /var/www/app/storage /var/www/app/docker-backup-storage \
|
||||
&& mv /var/www/app/public/logo /var/www/app/docker-backup-public-logo
|
||||
|
||||
|
||||
######
|
||||
# DEFAULT ENV
|
||||
######
|
||||
ENV DB_HOST mysql
|
||||
ENV DB_DATABASE ninja
|
||||
ENV APP_KEY SomeRandomString
|
||||
ENV LOG errorlog
|
||||
ENV APP_DEBUG 1
|
||||
|
||||
|
||||
#use to be mounted into nginx for exemple
|
||||
VOLUME /var/www/app/public
|
||||
|
||||
WORKDIR /var/www/app
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
COPY app-entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["php-fpm"]
|
||||
113
README.md
113
README.md
@@ -1,29 +1,94 @@
|
||||
DockerFile for invoice ninja (https://www.invoiceninja.com/)
|
||||
[](https://hub.docker.com/r/invoiceninja/invoiceninja-octane)
|
||||
[](https://hub.docker.com/r/invoiceninja/invoiceninja-octane)
|
||||
[](https://github.com/invoiceninja/dockerfiles/actions/workflows/publish-image-octane.yaml)
|
||||
[](https://github.com/invoiceninja/dockerfiles/actions/workflows/build-image-octane.yaml)
|
||||
|
||||
This image is based on `php:7` official version.
|
||||
# Octane Docker for [Invoice Ninja](https://www.invoiceninja.com/)
|
||||
|
||||
The easiest way to try this image is via docker compose :
|
||||
👑 **Features**
|
||||
|
||||
[FRANKENPHP](https://frankenphp.dev/)
|
||||
Built-in Chrome for PDF generation and other features
|
||||
Saxon XLST 2 engine
|
||||
OPcache
|
||||
Multi language support
|
||||
|
||||
## Get started with Docker Compose
|
||||
|
||||
This Debian-based image includes Chrome for enhanced PDF generation and other features. To get started:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/invoiceninja/dockerfiles.git -b octane
|
||||
cd dockerfiles/octane
|
||||
```
|
||||
|
||||
Instead of defining our environment variables inside our docker-compose.yml file we now define this in the `.env` file, open this file up and insert your `APP_URL`, `APP_KEY` and update the rest of the variables as required.
|
||||
|
||||
```
|
||||
db:
|
||||
image: mysql
|
||||
environment:
|
||||
MYSQL_DATABASE: ninja
|
||||
MYSQL_ROOT_PASSWORD: mdp
|
||||
|
||||
app:
|
||||
image: invoiceninja/invoiceninja
|
||||
links:
|
||||
- db:mysql
|
||||
|
||||
web:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
links:
|
||||
- app
|
||||
volumes_from:
|
||||
- app
|
||||
ports:
|
||||
- 80
|
||||
APP_URL=http://in.localhost:8003/
|
||||
APP_KEY=<insert your generated key in here>
|
||||
APP_DEBUG=true
|
||||
REQUIRE_HTTPS=false
|
||||
IN_USER_EMAIL=
|
||||
IN_PASSWORD=
|
||||
```
|
||||
|
||||
## Initial account setup
|
||||
|
||||
### Primary account setup
|
||||
Prior to starting the container for the first time, open the .env file and update the IN_USER_EMAIL and IN_PASSWORD variables with your primary account.
|
||||
|
||||
This will take care of the initial account setup. You can later remove these .env variables.
|
||||
|
||||
> ⚠️ **Warning**
|
||||
> If `IN_USER_EMAIL` and `IN_PASSWORD` are not set the default user email and password is "admin@example.com" and "changeme!" respectively.
|
||||
|
||||
After the container has completed the first startup you can delete these two environment variables.
|
||||
|
||||
### Generate a APP_KEY
|
||||
|
||||
The `APP_KEY` can be generated by running:
|
||||
|
||||
```bash
|
||||
# If you haven't started the containers yet:
|
||||
docker run --rm -it invoiceninja/invoiceninja-octane frankenphp php-cli artisan key:generate --show
|
||||
|
||||
# Or if your containers are already running:
|
||||
docker compose exec app frankenphp php-cli artisan key:generate --show
|
||||
```
|
||||
|
||||
Copy the entire string and insert in the .env file at `APP_KEY=base64....`
|
||||
|
||||
**Note: For PDF generation using localhost, your domain name MUST end in .test for PDFs to generate correctly due to Chrome's DNS resolver.
|
||||
|
||||
Start the container with:
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**Note: When performing the setup, the Database host is ```mysql```
|
||||
|
||||
### Updating the Image
|
||||
|
||||
To upgrade to a newer release image, update your docker-compose.yml first by running:
|
||||
|
||||
```bash
|
||||
docker compose pull
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
It is recommended to perform a backup before updating.
|
||||
|
||||
### Support
|
||||
|
||||
If you discover a bug, please create an issue. For general queries, visit our [Forum](https://forum.invoiceninja.com/)
|
||||
|
||||
|
||||
### Todo
|
||||
|
||||
This is a new image which should provide much better support for all users, however there are some items left to complete
|
||||
|
||||
- [ ] Backup script
|
||||
- [ ] Integrate soketi server
|
||||
- [ ] Add elastic search for site wide search
|
||||
@@ -1,39 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
|
||||
# if we're linked to MySQL, and we're using the root user, and our linked
|
||||
# container has a default "root" password set up and passed through... :)
|
||||
: ${DB_USERNAME:=root}
|
||||
if [ "$DB_USERNAME" = 'root' ]; then
|
||||
: ${DB_PASSWORD:=$MYSQL_ENV_MYSQL_ROOT_PASSWORD}
|
||||
fi
|
||||
|
||||
echo "DB_USERNAME=$DB_USERNAME" >> .env
|
||||
echo "DB_PASSWORD=$DB_PASSWORD" >> .env
|
||||
|
||||
if [ ! -d /var/www/app/storage ]; then
|
||||
cp -Rp /var/www/app/docker-backup-storage /var/www/app/storage
|
||||
else
|
||||
IN_STORAGE_BACKUP="$(ls /var/www/app/docker-backup-storage/)"
|
||||
for path in $IN_STORAGE_BACKUP; do
|
||||
if [ ! -e "/var/www/app/storage/$path" ]; then
|
||||
cp -Rp "/var/www/app/docker-backup-storage/$path" "/var/www/app/storage/"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ ! -d /var/www/app/public/logo ]; then
|
||||
cp -Rp /var/www/app/docker-backup-public-logo /var/www/app/public/logo
|
||||
else
|
||||
IN_LOGO_BACKUP="$(ls /var/www/app/docker-backup-public-logo/)"
|
||||
for path in $IN_LOGO_BACKUP; do
|
||||
if [ ! -e "/var/www/app/public/logo/$path" ]; then
|
||||
cp -Rp "/var/www/app/docker-backup-public-logo/$path" "/var/www/app/public/logo/"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
chown www-data .env
|
||||
|
||||
exec "$@"
|
||||
50
nginx.conf
50
nginx.conf
@@ -1,50 +0,0 @@
|
||||
user www-data;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
}
|
||||
|
||||
http {
|
||||
upstream backend {
|
||||
server app:9000;
|
||||
}
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
server {
|
||||
listen 80 default;
|
||||
server_name your_ininja_site;
|
||||
|
||||
root /var/www/app/public;
|
||||
|
||||
index index.php;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ /index.php?$query_string;
|
||||
}
|
||||
|
||||
location = /favicon.ico { access_log off; log_not_found off; }
|
||||
location = /robots.txt { access_log off; log_not_found off; }
|
||||
|
||||
sendfile off;
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass backend;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_intercept_errors off;
|
||||
fastcgi_buffer_size 16k;
|
||||
fastcgi_buffers 4 16k;
|
||||
}
|
||||
|
||||
location ~ /\.ht {
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
62
octane/.env
Normal file
62
octane/.env
Normal file
@@ -0,0 +1,62 @@
|
||||
# IN application vars
|
||||
APP_URL=http://localhost
|
||||
APP_KEY=base64:RR++yx2rJ9kdxbdh3+AmbHLDQu+Q76i++co9Y8ybbno=
|
||||
APP_ENV=production
|
||||
APP_DEBUG=true
|
||||
REQUIRE_HTTPS=false
|
||||
PHANTOMJS_PDF_GENERATION=false
|
||||
PDF_GENERATOR=snappdf
|
||||
TRUSTED_PROXIES='*'
|
||||
|
||||
|
||||
CACHE_DRIVER=redis
|
||||
QUEUE_CONNECTION=redis
|
||||
SESSION_DRIVER=redis
|
||||
|
||||
REDIS_HOST=redis
|
||||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
FILESYSTEM_DISK=debian_docker
|
||||
|
||||
# DB connection
|
||||
DB_HOST=mysql
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=ninja
|
||||
DB_USERNAME=ninja
|
||||
DB_PASSWORD=ninja
|
||||
DB_ROOT_PASSWORD=ninjaAdm1nPassword
|
||||
DB_CONNECTION=mysql
|
||||
|
||||
# Create initial user
|
||||
# Default to these values if empty
|
||||
IN_USER_EMAIL=admin@example.com
|
||||
IN_PASSWORD=changeme!
|
||||
# IN_USER_EMAIL=
|
||||
# IN_PASSWORD=
|
||||
|
||||
# Mail options
|
||||
MAIL_MAILER=log
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS='user@example.com'
|
||||
MAIL_FROM_NAME='Self Hosted User'
|
||||
|
||||
# MySQL
|
||||
MYSQL_ROOT_PASSWORD=ninjaAdm1nPassword
|
||||
MYSQL_USER=ninja
|
||||
MYSQL_PASSWORD=ninja
|
||||
MYSQL_DATABASE=ninja
|
||||
|
||||
# GoCardless/Nordigen API key for banking integration
|
||||
NORDIGEN_SECRET_ID=
|
||||
NORDIGEN_SECRET_KEY=
|
||||
|
||||
IS_DOCKER=true
|
||||
SCOUT_DRIVER=null
|
||||
#SNAPPDF_CHROMIUM_PATH=/usr/bin/google-chrome-stable
|
||||
|
||||
|
||||
102
octane/Dockerfile
Normal file
102
octane/Dockerfile
Normal file
@@ -0,0 +1,102 @@
|
||||
ARG PHP_VERSION=8.4
|
||||
ARG FRANKENPHP_VERSION=1
|
||||
ARG DEBIAN_VERSION=trixie
|
||||
|
||||
FROM dunglas/frankenphp:${FRANKENPHP_VERSION}-php${PHP_VERSION}-${DEBIAN_VERSION} AS prepare-app
|
||||
|
||||
ARG URL=https://github.com/invoiceninja/invoiceninja/releases/latest/download/invoiceninja.tar.gz
|
||||
|
||||
ADD ${URL} /tmp/invoiceninja.tar.gz
|
||||
|
||||
RUN tar -xf /tmp/invoiceninja.tar.gz \
|
||||
&& ln -s ./resources/views/react/index.blade.php ./public/index.html \
|
||||
# Symlink
|
||||
&& php artisan storage:link \
|
||||
# Octane
|
||||
&& php artisan octane:install --server=frankenphp
|
||||
|
||||
# ==================
|
||||
# InvoiceNinja image
|
||||
# ==================
|
||||
FROM dunglas/frankenphp:${FRANKENPHP_VERSION}-php${PHP_VERSION}-${DEBIAN_VERSION}
|
||||
|
||||
ARG user=ninja
|
||||
|
||||
# PHP modules
|
||||
ARG php_require="bcmath gd mbstring pdo_mysql zip"
|
||||
ARG php_suggest="exif imagick intl pcntl saxon soap"
|
||||
ARG php_extra="opcache"
|
||||
|
||||
# Create a system user UID/GID=999
|
||||
RUN useradd -r ${user}
|
||||
|
||||
# Allow to bind to privileged ports
|
||||
RUN setcap CAP_NET_BIND_SERVICE=+eip /usr/local/bin/frankenphp
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
mariadb-client \
|
||||
gpg \
|
||||
# Unicode support for PDF
|
||||
fonts-noto-cjk-extra \
|
||||
fonts-wqy-microhei \
|
||||
fonts-wqy-zenhei \
|
||||
xfonts-wqy \
|
||||
# Install google-chrome-stable(amd64)/chromium(arm64)
|
||||
&& if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
|
||||
mkdir -p /etc/apt/keyrings \
|
||||
&& curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | \
|
||||
gpg --dearmor -o /etc/apt/keyrings/google.gpg \
|
||||
&& echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.gpg] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends google-chrome-stable \
|
||||
&& mkdir /config/google-chrome \
|
||||
&& chown ${user}: /config/google-chrome; \
|
||||
elif [ "$(dpkg --print-architecture)" = "arm64" ]; then \
|
||||
apt-get install -y --no-install-recommends \
|
||||
chromium \
|
||||
&& mkdir /config/chromium \
|
||||
&& chown ${user}: /config/chromium; \
|
||||
fi \
|
||||
# Cleanup
|
||||
&& apt-get purge -y gpg \
|
||||
&& apt-get autoremove -y \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install PHP extensions
|
||||
RUN install-php-extensions \
|
||||
${php_require} \
|
||||
${php_suggest} \
|
||||
${php_extra}
|
||||
|
||||
# Configure PHP
|
||||
RUN ln -s "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini"
|
||||
|
||||
COPY php/php.ini /usr/local/etc/php/conf.d/invoiceninja.ini
|
||||
|
||||
# Workaround: Disable SSL for mariadb-client for compatibility with MySQL
|
||||
RUN echo "skip-ssl = true" >> /etc/mysql/mariadb.conf.d/50-client.cnf
|
||||
|
||||
# Create directory for artisan tinker (init.sh)
|
||||
RUN mkdir /config/psysh \
|
||||
&& chown ${user}: /config/psysh
|
||||
|
||||
# Change owner for caddy directories
|
||||
RUN chown -R ${user}: \
|
||||
/data/caddy \
|
||||
/config/caddy
|
||||
|
||||
# InvoiceNinja
|
||||
COPY --from=prepare-app --chown=${user}:${user} /app /app
|
||||
|
||||
# Add initialization script
|
||||
COPY --chmod=0755 scripts/init.sh /usr/local/bin/init.sh
|
||||
|
||||
USER ${user}
|
||||
|
||||
HEALTHCHECK --start-period=100s CMD curl -f http://localhost/health
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/init.sh"]
|
||||
|
||||
CMD ["frankenphp", "php-cli", "artisan", "octane:frankenphp"]
|
||||
129
octane/docker-compose.yml
Normal file
129
octane/docker-compose.yml
Normal file
@@ -0,0 +1,129 @@
|
||||
# name: invoiceninja
|
||||
|
||||
x-app-volumes: &volumes
|
||||
volumes:
|
||||
- app_storage:/app/storage
|
||||
- caddy_data:/data
|
||||
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||
restart: unless-stopped
|
||||
# php artisan help octane:frankenphp
|
||||
command: --port=80 --workers=2
|
||||
# command: --host=example.com --port=443 --workers=2 --https --http-redirect --log-level=info
|
||||
ports:
|
||||
- "80:80" # HTTP
|
||||
# - "443:443" # HTTPS
|
||||
# - "443:443/udp" # HTTP/3, Works for chromium based browser, but causes H3_GENERAL_PROTOCOL_ERROR for pdf previews in Firefox
|
||||
env_file:
|
||||
- ./.env
|
||||
environment:
|
||||
LARAVEL_ROLE: app
|
||||
<<: *volumes
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
# mariadb:
|
||||
# condition: service_healthy
|
||||
# valkey:
|
||||
# condition: service_healthy
|
||||
|
||||
app-worker:
|
||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||
restart: unless-stopped
|
||||
# php artisan help queue:work
|
||||
command: --verbose --sleep=3 --tries=3 --max-time=3600
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 2
|
||||
env_file:
|
||||
- ./.env
|
||||
environment:
|
||||
LARAVEL_ROLE: worker
|
||||
<<: *volumes
|
||||
healthcheck:
|
||||
test: ["CMD", "pgrep", "-f", "queue:work"]
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
|
||||
app-scheduler:
|
||||
image: invoiceninja/invoiceninja-octane:${TAG:-latest}
|
||||
restart: unless-stopped
|
||||
# php artisan help schedule:work
|
||||
command: --verbose
|
||||
env_file:
|
||||
- ./.env
|
||||
environment:
|
||||
LARAVEL_ROLE: scheduler
|
||||
<<: *volumes
|
||||
healthcheck:
|
||||
test: ["CMD", "pgrep", "-f", "schedule:work"]
|
||||
depends_on:
|
||||
app:
|
||||
condition: service_healthy
|
||||
|
||||
mysql:
|
||||
image: mysql:8
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_DATABASE: ${DB_DATABASE}
|
||||
MYSQL_USER: ${DB_USERNAME}
|
||||
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
volumes:
|
||||
- mysql_data:/var/lib/mysql
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"mysqladmin",
|
||||
"ping",
|
||||
"-h",
|
||||
"localhost",
|
||||
"-u${MYSQL_USER}",
|
||||
"-p${MYSQL_PASSWORD}",
|
||||
]
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
|
||||
# mariadb:
|
||||
# image: mariadb:11.8
|
||||
# restart: unless-stopped
|
||||
# environment:
|
||||
# MARIADB_DATABASE: ${DB_DATABASE}
|
||||
# MARIADB_USER: ${DB_USERNAME}
|
||||
# MARIADB_PASSWORD: ${DB_PASSWORD}
|
||||
# MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
# volumes:
|
||||
# - mariadb:/var/lib/mysql
|
||||
# healthcheck:
|
||||
# test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
|
||||
# valkey:
|
||||
# image: valkey/valkey:8
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - valkey:/data
|
||||
# healthcheck:
|
||||
# test: [ "CMD", "valkey-cli", "ping" ]
|
||||
|
||||
|
||||
volumes:
|
||||
app_storage:
|
||||
caddy_data:
|
||||
mysql_data:
|
||||
redis_data:
|
||||
# mariadb:
|
||||
# valkey:
|
||||
24
octane/php/php.ini
Normal file
24
octane/php/php.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
[core]
|
||||
; https://www.php.net/manual/en/ini.core.php
|
||||
post_max_size=10M
|
||||
upload_max_filesize=10M
|
||||
memory_limit=512M
|
||||
|
||||
[opcache]
|
||||
; https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended
|
||||
opcache.enable_cli=1
|
||||
|
||||
[jit]
|
||||
; https://wiki.php.net/rfc/jit_config_defaults
|
||||
opcache.jit=tracing
|
||||
opcache.jit_buffer_size=64M
|
||||
|
||||
[extra]
|
||||
; https://frankenphp.dev/docs/performance/#php-performance
|
||||
; http://symfony.com/doc/current/performance.html
|
||||
opcache.memory_consumption=256
|
||||
opcache.max_accelerated_files=20000
|
||||
opcache.preload=/app/preload.php
|
||||
opcache.validate_timestamps=0
|
||||
realpath_cache_size = 4096K
|
||||
realpath_cache_ttl = 600
|
||||
97
octane/scripts/init.sh
Executable file
97
octane/scripts/init.sh
Executable file
@@ -0,0 +1,97 @@
|
||||
#!/bin/sh -eu
|
||||
|
||||
# Fallback to app
|
||||
role=${LARAVEL_ROLE:-app}
|
||||
|
||||
# Set PDF generation browser path based on architecture
|
||||
export SNAPPDF_CHROMIUM_PATH=/usr/bin/google-chrome-stable
|
||||
if [ "$(dpkg --print-architecture)" = "arm64" ]; then
|
||||
export SNAPPDF_CHROMIUM_PATH=/usr/bin/chromium
|
||||
fi
|
||||
|
||||
# Check for default CMD, flag(s) or empty CMD
|
||||
if [ "$*" = 'frankenphp php-cli artisan octane:frankenphp' ] || [ "${1#-}" != "$1" ] || [ "$#" -eq "0" ]; then
|
||||
|
||||
if [ "--help" = "$1" ]; then
|
||||
echo [CMD]
|
||||
echo "This image will execute specific CMDs based on the environment variable LARAVEL_ROLE"
|
||||
echo
|
||||
echo "LARAVEL_ROLE=app: frankenphp php-cli artisan octane:frankenphp (default)"
|
||||
echo "LARAVEL_ROLE=worker: frankenphp php-cli artisan queue:work"
|
||||
echo "LARAVEL_ROLE=scheduler: frankenphp php-cli artisan schedule:work"
|
||||
echo
|
||||
echo [FLAGS]
|
||||
echo To the CMD defined by LARAVEL_ROLE can be extended with flags for artisan commands
|
||||
echo
|
||||
echo Available flags can be displaced:
|
||||
echo docker run --rm invoiceninja/invoiceninja-debian frankenphp php-cli artisan help octane:frankenphp
|
||||
echo docker run --rm invoiceninja/invoiceninja-debian frankenphp php-cli artisan queue:work
|
||||
echo docker run --rm invoiceninja/invoiceninja-debian frankenphp php-cli artisan schedule:work
|
||||
echo
|
||||
echo Example:
|
||||
echo docker run -e LARAVEL_ROLE=worker invoiceninja/invoiceninja-debian --verbose --sleep=3 --tries=3 --max-time=3600
|
||||
echo
|
||||
echo [Deployment]
|
||||
echo Docker compose is recommended
|
||||
echo
|
||||
echo Example:
|
||||
echo https://github.com/invoiceninja/dockerfiles/blob/octane/debian/docker-compose.yml
|
||||
echo
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Run app
|
||||
if [ "${role}" = "app" ]; then
|
||||
cmd="frankenphp php-cli artisan octane:frankenphp"
|
||||
|
||||
# Check for required folders and create if needed, relevant for bind mounts
|
||||
# It is not possible to chown, as we are not executing this script as root
|
||||
[ -d /var/www/html/storage/app/public ] || mkdir -p /var/www/html/storage/app/public
|
||||
[ -d /app/storage/framework/sessions ] || mkdir -p /app/storage/framework/sessions
|
||||
[ -d /app/storage/framework/views ] || mkdir -p /app/storage/framework/views
|
||||
[ -d /app/storage/framework/cache ] || mkdir -p /app/storage/framework/cache
|
||||
[ -d /app/storage/logs ] || mkdir -p /app/storage/logs
|
||||
|
||||
if [ "$APP_ENV" = "production" ]; then
|
||||
frankenphp php-cli artisan migrate --force
|
||||
frankenphp php-cli artisan cache:clear # Clear after the migration
|
||||
frankenphp php-cli artisan ninja:design-update
|
||||
frankenphp php-cli artisan optimize
|
||||
|
||||
# If first IN run, it needs to be initialized
|
||||
if [ "$(frankenphp php-cli artisan tinker --execute='echo Schema::hasTable("accounts") && !App\Models\Account::all()->first();')" = "1" ]; then
|
||||
echo "Running initialization..."
|
||||
|
||||
frankenphp php-cli artisan db:seed --force
|
||||
|
||||
if [ -n "${IN_USER_EMAIL}" ] && [ -n "${IN_PASSWORD}" ]; then
|
||||
frankenphp php-cli artisan ninja:create-account --email "${IN_USER_EMAIL}" --password "${IN_PASSWORD}"
|
||||
else
|
||||
echo "Initialization failed - Set IN_USER_EMAIL and IN_PASSWORD in .env"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Production setup completed"
|
||||
# Run worker
|
||||
elif [ "${role}" = "worker" ]; then
|
||||
cmd="frankenphp php-cli artisan queue:work"
|
||||
# Run scheduler
|
||||
elif [ "${role}" = "scheduler" ]; then
|
||||
cmd="frankenphp php-cli artisan schedule:work"
|
||||
# Invalid role
|
||||
else
|
||||
echo "Invalid role: ${role}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Append flag(s) to role cmd
|
||||
if [ "${1#-}" != "$1" ]; then
|
||||
set -- ${cmd} "$@"
|
||||
else
|
||||
set -- ${cmd}
|
||||
fi
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user