Code Monkey home page Code Monkey logo

tastyigniter's Introduction

TastyIgniter Docker

Docker Pulls Docker Image Size (tag)

Run with docker compose for automatic database configuration

mkdir tastyigniter && cd tastyigniter
curl -LO https://github.com/ThisIsQasim/TastyIgniter/raw/master/docker-compose.yml
docker compose up db -d
sleep 10
docker compose up -d
docker compose exec app php artisan igniter:passwd admin

Browse to port 8001 of your docker host. The TastyIgniter setup wizard will show up. Wait for a minute for the database container to come up and then run the setup.

Credits

TastyIgniter: https://github.com/tastyigniter/TastyIgniter

tastyigniter's People

Contributors

thisisqasim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tastyigniter's Issues

[question] is this project still working? after #7 update?

First:
docker compose up -d
then
docker compose exec app php artisan igniter:install --no-interaction
finally
docker compose exec app php artisan igniter:passwd admin
image
given:

root@vps:~/TastyIgniter# cat docker-compose.yml
version: '2'
services:
  app:
    image: thisisqasim/tastyigniter:3.4.0
    hostname: tasty
    ports:
      - 8001:80
    environment:
      - APP_URL=https://www.mydomain.tld
      - DB_CONNECTION=mysql
      - DB_HOST=db
      - DB_DATABASE=tastyigniter
      - DB_USERNAME=tastyigniter
      - DB_PASSWORD=somepassword
      - CACHE_DRIVER=redis
      - REDIS_HOST=redis
    restart: always
  db:
    image: mariadb:10.7
    volumes:
      - ./db:/var/lib/mysql
    environment:
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
      - MYSQL_DATABASE=tastyigniter
      - MYSQL_USER=tastyigniter
      - MYSQL_PASSWORD=somepassword
    restart: always
  redis:
    image: redis:6
    command: redis-server --maxmemory 256mb --maxmemory-policy allkeys-lru
    restart: always
root@vps:~/TastyIgniter#

Do we still need to config nginx in order to visit www.mydomain.tld ? Thank you in advance.

is v3 docker image working ?

Hi @ThisIsQasim ,
Thanks so much for your great work on these docker images.
I am trying to run docker compose on v3 branch and I am only getting this test page ( screenshot )

is this normal ? is it possible to to run the actual web app similar to what you did for v2 ?
Thanks

image

After last command below are the errors.

`In Connection.php line 712:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist (SQL: select * from ti_users where username = admin limit 1)

In Exception.php line 18:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist

In PDOConnection.php line 82:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist

`

New image version is failing on setup stage

Hi @ThisIsQasim, firstly let me thank you for this docker file, you saved me a lot of time.

I was playing around with Tastyigniter using your images but just noticed that the last one is not allowing to accomplish the 1st setup page, it is probably related with a compatibility problem between PHP 7.1 and Tastyigniter (as far as I have invetigated it seems to be the PHP version but I'm not 100% sure).

"Created": "2020-05-17T22:44:42.274213301Z",

tested with an older image and it working like a charm ( "Created": "2020-04-27T21:07:03.695749804Z" )

Tested in two VMs both with Ubuntu 14.04

Regards

The app doesn't work

After executing the commands:

mkdir tastyigniter && cd tastyigniter
curl -LO https://github.com/ThisIsQasim/TastyIgniter/raw/master/docker-compose.yml
docker compose up -d
docker compose exec app php artisan igniter:passwd admin

I obtain the following error:

In Connection.php line 712:
                                                                                                                                                                    
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist (SQL: select * from `ti_users` where `username` = admin limit 1)  
                                                                                                                                                                    

In Exception.php line 18:
                                                                                                   
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist  
                                                                                                   

In PDOConnection.php line 82:
                                                                                                   
  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tastyigniter.ti_users' doesn't exist  

Database settings for setup

Hi,

Nice work!

I've tried at the 'Database Settings', page that:

  MYSQL_DATABASE: tastydb
  MYSQL_USER: tastyuser
  MYSQL_PASSWORD: tastypass

But it did not work. What is the host? I am missing anything?

Thanks!

Connection refused Error

I run on docker-compose with error.

In Connection.php line 712: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from ti_userswhereusername= admin limit 1) In Exception.php line 18: SQLSTATE[HY000] [2002] Connection refused In PDOConnection.php line 40: SQLSTATE[HY000] [2002] Connection refused

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.