Giter Site home page Giter Site logo

Comments (22)

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024 1
git clone https://github.com/NNTmux/newznab-tmux
cd newznab-tmux

echo 
"
DB_CONNECTION=mysql
DB_HOST=mariadb 
DB_PORT=3306
DB_ROOTPASSWORD=rootpwd
DB_SOCKET=
DB_USERNAME=mariadb
DB_PASSWORD=mariadb
DB_DATABASE=nntmux


MAIL_MAILER=smtp
MAIL_DRIVER=smtp 
MAIL_HOST=mailpit
MAIL_PORT=1025
MANTICORESEARCH_HOST=manticore 
ELASTICSEARCH_HOST=elasticsearch
" > .env 

chmod +x sail
mv docker-compose.yml.dist docker-compose.yml
./sail build --no-cache
./sail up -d

./sail artisan nntmux:install
Warning: require_once(/var/www/html/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/bootstrap/autoload.php on line 3 Fatal error: Uncaught Error: Failed opening required '/var/www/html/vendor/autoload.php' (include_path='.:/usr/share/php') in /var/www/html/bootstrap/autoload.php:3 Stack trace: #0 /var/www/html/public/index.php(3): require_once() #1 {main} thrown in /var/www/html/bootstrap/autoload.php on line 3

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

You might want to check the folder called docker

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

Thanks, I've read this page https://github.com/NNTmux/newznab-tmux/tree/master/docker/8.2 , found some steps but no docker-compose.yml to docker compose pull && docker compose up -d

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

The compose file is always in the root of the project.

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

Right, I'm gonna try :)

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

Can I install to ARM CPU ?

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

Find out and let us know if you do. You'll need to make a new Dockerfile with all ARM tools.

Otherwise you should be able to run x86 images on ARM using emulation probably.

from newznab-tmux.

AbdelatifAitBara avatar AbdelatifAitBara commented on June 26, 2024

HI @DavidHenryThoreau

I think you can use this one : https://github.com/NNTmux/newznab-tmux/blob/master/docker-compose.yml.dist

from newznab-tmux.

Rajdeep1311 avatar Rajdeep1311 commented on June 26, 2024

You can use my shell scripts to install, here is my repo: https://github.com/Rajdeep1311/DevOps_learnings.git

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

run sail composer install before nntmux:install

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024
debian:/home/debian/newznab-tmux# ./sail composer install
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "COMPOSER_AUTH" variable is not set. Defaulting to a blank
string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "COMPOSER_AUTH" variable is not set. Defaulting to a blank
string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
WARN[0000] The "APP_TZ" variable is not set. Defaulting to a blank string. 
Installing dependencies from lock file (including require-dev)
  Verifying lock file contents can be installed on current platform.
  Package operations: 263 installs, 0 updates, 0 removals

  In Filesystem.php line 255:
                                                                            
    /var/www/html/vendor/php-http does not exist and could not be created.                                                                            

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

Fix the warnings first. Then look at file/user permissions.

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

The files are owned by root in the container, I still have file/user permissions. :

root@debian-12:~/newznab-tmux# docker compose exec -u sail laravel.test  bash
sail@f45f99fd6316:/var/www/html$ ll /var/www/html/vendor/laravel/php-http
ls: cannot access '/var/www/html/vendor/laravel/php-http': No such file or directory
sail@f45f99fd6316:/var/www/html$ ll|grep sail
-rwxr-xr-x  1 root root  15624 Sep 21 16:08 sail*

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

Can you publish a built version of laravel.test image ?
I'd like to use NNTmux in production and I don't want to build it on production :)

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

It’s about permissions outside of the container. The files sit on your local filesystem.

Also this is a development environment, not to be ran in production.

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

Right, How can I run it in production ? I'm using docker-compose for all others production applications

from newznab-tmux.

Fossil01 avatar Fossil01 commented on June 26, 2024

I would run it bare metal.

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

What do you think about the idea of publishing a built version of laravel docker's image (x86, arm) it might be easy to deploy it in production even in bare metal ?

For example : https://hub.docker.com/r/fekhoo/newznab

from newznab-tmux.

DariusIII avatar DariusIII commented on June 26, 2024

https://hub.docker.com/search?q=nntmux

from newznab-tmux.

DavidHenryThoreau avatar DavidHenryThoreau commented on June 26, 2024

Yes, some images already exist but seems outdated and not for arm platform only for x86.

from newznab-tmux.

github-actions avatar github-actions commented on June 26, 2024

This issue is stale because it has been open for 30 days with no activity.

from newznab-tmux.

github-actions avatar github-actions commented on June 26, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

from newznab-tmux.

Related Issues (20)

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.