Hi
I cloned the Github repo and modified the docker-compose and the ipconfig.php to my needs. I only changed couple things.
I run the setup with docker-compose up
but all I get is a blank page with errors below.
I am wondering if I could get some leads to how to solve this issue.
I am on Debian Testing.
compose file
---
version: "3"
services:
# --- MariaDB 10.3
db:
container_name: "invoiceplane-db"
image: bitnami/mariadb:10.3
environment:
- MARIADB_ROOT_PASSWORD=ipdevdb
- MARIADB_USER=ipdevdb
- MARIADB_PASSWORD=PASS
- MARIADB_DATABASE=ipdevdb
ports:
- "3306"
volumes:
- /media/DRIVE/invoiceplane/db:/bitnami
# --- PHP 7.3
php:
container_name: "invoiceplane-php"
image: bitnami/php-fpm:7.3
depends_on:
- db
volumes:
- .:/app:delegated
- ./application/docker/php/php-dev.ini:/opt/bitnami/php/etc/conf.d/php.ini:ro
# --- nginx 1.16
nginx:
container_name: "invoiceplane-nginx"
image: bitnami/nginx:1.16
ports:
- "8085:8085"
depends_on:
- php
volumes:
- .:/app:delegated
- ./application/docker/nginx/site.conf:/opt/bitnami/nginx/conf/vhosts/site.conf:ro
volumes:
invoiceplane-db:
driver: local
invoiceplane-nginx | 23:57:06.68 INFO ==> Initializing NGINX...
invoiceplane-nginx | 23:57:06.82 INFO ==> ** NGINX setup finished! **
invoiceplane-nginx |
invoiceplane-nginx | 23:57:06.82 INFO ==> ** Starting NGINX **
invoiceplane-nginx | 2020/04/27 23:57:07 [error] 30#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /app/index.php on l
ine 18PHP message: PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/opt/bitnami/php/lib/php') in /app/index.php on line 18" while reading response header from upstream
, client: IP2, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://192.168.16.3:9000", host: "IP:8085"
invoiceplane-nginx | IP2 - - [27/Apr/2020:23:57:07 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0"
invoiceplane-nginx | 2020/04/27 23:57:10 [error] 30#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /app/index.php on l
ine 18PHP message: PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/opt/bitnami/php/lib/php') in /app/index.php on line 18" while reading response header from upstream
, client: IP2, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://192.168.16.3:9000", host: "IP:8085"
invoiceplane-nginx | IP2 - - [27/Apr/2020:23:57:10 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0"
invoiceplane-nginx | IP2 - - [27/Apr/2020:23:57:18 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0"
invoiceplane-nginx | 2020/04/27 23:57:18 [error] 30#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /app/index.php on l
ine 18PHP message: PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/opt/bitnami/php/lib/php') in /app/index.php on line 18" while reading response header from upstream
, client: IP2, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://192.168.16.3:9000", host: "IP:8085"
invoiceplane-nginx | 2020/04/27 23:57:19 [error] 30#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: require(vendor/autoload.php): failed to open stream: No such file or directory in /app/index.php on l
ine 18PHP message: PHP Fatal error: require(): Failed opening required 'vendor/autoload.php' (include_path='.:/opt/bitnami/php/lib/php') in /app/index.php on line 18" while reading response header from upstream
, client: IP2, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://192.168.16.3:9000", host: "IP:8085"