Coder Social home page Coder Social logo

nouuu / docker-projeqtor Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 6.0 259.38 MB

Dockerized Projeqtor 11.2.0 with PHP extensions

Home Page: https://hub.docker.com/r/nospy/projeqtor

License: MIT License

Dockerfile 64.07% PHP 14.76% Shell 21.17%
docker php projeqtor

docker-projeqtor's Introduction

Hi ! I'm Noé Larrieu-Lacoste, A passionate project leader, DevOps and developper from France 🚀


Profile views counter


  • 🔭You can check all of my work at wiki.nospy.fr

  • 🌱 I’m currently learning Software Structure and Design, Go and Kubernetes

  • ❓ Ask me about Docker 🐳

  • ⚡ Fun fact I became passionate about computers by helping my grandparents to copy their tapes to computers


Connect with me

github linkedin

My Skill Set

Frontend

React Bootstrap CSS3 HTML5 JavaScript TypeScript Chart.js Node.js Vue.js Figma Angular Redux Android Latex

Backend

TypeScript PHP Node.js Linux Nginx Python Express.js Git Bash Oracle Kotlin Maria DB NestJS Go PostgreSQL Raspberry Pi InfluxDB Laravel MySQL C Java Spring

DevOps

AWS GCP Kubernetes Linux Git Bash Ansible Docker Jenkins Grafana GitLab

My stats


docker-projeqtor's People

Contributors

nouuu avatar venopsis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-projeqtor's Issues

How to launch it ?

Hi Noé,
I have assumed to launch your project with docker-compose up, but I get this error:

[+] Running 0/0
 ⠿ Network nouuu_projeqtor_network  Error                                                                                                                              0.0s
failed to create network nouuu_projeqtor_network: Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.

Then if I do docker swarm init, it looks better:

Swarm initialized: current node (`hidden`) is now a manager.

To add a worker to this swarm, run the following command:

    docker swarm join --token `hidden`

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.

$ docker-compose up
[+] Running 1/0
 ⠿ Network nouuu_projeqtor_network  Created                                                                                                                            0.0s
external volume "" not found
$ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
$ docker-compose ps
NAME                COMMAND             SERVICE             STATUS              PORTS

Nothing seems to run.

I am not a Docker expert. What is the way forward please?

Can not run container

Pull and Run
Show logs

Init config

Init apache2

[Tue Oct 05 04:21:01.774607 2021] [mpm_prefork:notice] [pid 9] AH00163: Apache/2.4.38 (Debian) PHP/7.4.22 configured -- resuming normal operations

[Tue Oct 05 04:21:01.774705 2021] [core:notice] [pid 9] AH00094: Command line: 'apache2 -D FOREGROUND'

No volume for attachments

Hi,
there is currently no mount point defined in the Dockerfile for the attachments folder but attachments are enabled. This could lead in lost data when Projeqtor stores this in a non-persisted place.
I did a workaround by binding /mnt/attachments to a dedicated volume via compose and set the patch via the "Global Parameters" in Projeqtor.

Do you think it makes sense to add this path as a volume?

It would also be possible to merge /mnt/documents and /mnt/attachments to something like /mnt/storage with subfolders (e.g. /mnt/storage/documents, /mnt/storage/attachments), but this would require some migration.

Thanks

New Versions of Projeqtor

Hi,

there is a new major version available of Projeqtor. Do you plan releasing a new version of your Dockerfile for the latest version?

I could also try to helping by pushing a pull request, but I'm not sure how your test process looks like. Are you starting it up locally and check manually or there some GitHub build pipeline?

Thanks a lot!

Can't start via docker-compose: /opt/run.sh (many of them): not found. Not defined PATH?

Docker logs:

: not foundervice_1  | /opt/run.sh: 2:
projeqtor_service_1  | Init config
: not foundervice_1  | /opt/run.sh: 6:
projeqtor_service_1  | chown: cannot access '/mnt/'$'\r': No such file or directory
: not foundervice_1  | /opt/run.sh: 8:
: not foundervice_1  | /opt/run.sh: 12:
: not foundervice_1  | /opt/run.sh: 23:
projeqtor_service_1  | Init apache2
: not foundervice_1  | /opt/run.sh: 25: apache2-foreground
projeqtor_projeqtor_service_1 exited with code 127

Compose file:

version: '2.4'

services:
  mysql_service:
    image: mysql:latest
    volumes:
      - mysql_data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=changeme
      - MYSQL_DATABASE=projeqtor
  projeqtor_service:
    image: nospy/projeqtor:9.4.2
    depends_on:
      - mysql_service
    volumes:
      - projeqtor_documents:/mnt/documents
      - projeqtor_logs:/mnt/logs
    ports:
      - "2525:25"
      - "127.0.0.1:8989:80"
    environment:
      - PHP_MAX_EXECUTION_TIME=30
      - PHP_MAX_INPUT_VARS=4000
      - PHP_MAX_UPLOAD_SIZE=1G
      - PHP_MEMORY_LIMIT=512M
      - PHP_REQUEST_TERMINATE_TIMEOUT=0
      - PJT_ATTACHMENT_MAX_SIZE_MAIL=2097152
      - PJT_DB_TYPE=mysql
      - PJT_DB_HOST=mysql_service
      - PJT_DB_PORT=3306
      - PJT_DB_NAME=projeqtor
      - PJT_DB_USER=root
      - PJT_DB_PASSWORD=changeme
volumes:
  mysql_data:
  projeqtor_documents:
  projeqtor_logs:

It looks like PATH isn't defined at all for 9.5.4 image. 9.4.2 works fine.

Any plans to update the Docker Image?

Hi,

do you have any plans to update your Docker image to the latest Projeqtor version (V10.4.2)?
If it is only to update the Dockerfile I could try providing a small pull request.

Thanks and best regards,
Oliver

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.