Derek Allard's BambooInvoice originally available at http://bambooinvoice.org that I Dockerized
10K+
I've forked Derek Allard's BambooInvoice that helped me so hugely when I started out freelancing and dockerized it so I can still send invoices, only now from my CoreOS host :-)
The official mysql container won't work with bambooinvoice out of the box. You have to remove ONLY_FULL_GROUP_BY from the SQL mode e.g.
docker run -d --name bamboo-db \
-e MYSQL_ROOT_PASSWORD=yourpass \
-e MYSQL_USER=bambooinvoice \
-e MYSQL_PASSWORD=bambooinvoice \
-e MYSQL_DATABASE=bambooinvoice \
mysql:latest \
--sql-mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
The Dockerfile packaged with this project contains an ONBUILD instruction that requires 3 bamboo configuration files. So start with your own Dockerfile based off the one in this repo:
1 FROM hdejager/bamboo-invoice
2 MAINTAINER Hannes de Jager <[email protected]>
3
4 COPY php.ini-development /usr/local/etc/php/php.ini
and place as siblings in the directory:
Start by copying the ones in /web/bamboo_system_files/application/config/ in the source and modify for your environment.
Build: docker build -t mybambooinvoice .
and run while making sure to set the BASE_URL:
docker run -d --name ia-bamboo-web -e BASE_URL='http://192.168.99.100/' -p 80:80 --link bamboo-db:db mybambooinvoice
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'ssl://smtp.gmail.com';
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = 'yourpassword';
$config['smtp_port'] = '465';
$config['newline'] = "\r\n"; // This is what makes it work with GMAIL
Content type
Image
Digest
Size
160.7 MB
Last updated
over 10 years ago
docker pull hdejager/bamboo-invoice