Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mobilelifeful opened this issue Jul 5, 2023 · 0 comments
Open

Comments

@mobilelifeful
Copy link

mobilelifeful commented Jul 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant