Sign inSign up

thordep/ubuntu-laraps

By thordep

•Updated almost 2 years ago

A project from Ubuntu 22.04 to mount a web service with laravel 11.0 using apache connecting to sql

Image
Languages & frameworks
0

536

thordep/ubuntu-laraps repository overview

⁠Quick reference

⁠ubuntu-apache-php-sql_cnn-laravel ubuntu-laraps

This is a simple project from Ubuntu 22.04 to mount a web service with laravel 11.0 using apache and capable of connecting to a SQL Server database.

  • latest

    only apache default configuration, git, composer, Ubuntu 22.04, Apache 2.4, PHP 8.3, sqlsrv-5.11.1, pdo_sqlsrv-5.11.1, msodbcsql18, mssql-tools php8.3-common, php8.3-bcmath, php8.3-curl, php8.3-dom,php8.3-mbstring php8.3-zip, php8.3-dev, php8.3-xml, php-tokenizer php-zip php-json unzip php-sqlite3 unixodbc-dev --allow-unauthenticated

  • laravel

    latest + laravel 11 with sactum

    RUN composer install

⁠Using compose

services:
  web:
    image: thordep/ubuntu-laraps:laravel
    volumes:
      - ./my_laravel_project:/var/www/app

⁠After build

docker ps

docker exec -it <CONTAINER_ID> composer install

⁠How to use this image

docker compose up -d

⁠Start a ubuntu-laraps instance without ENVVARS, only with apache default configuration

docker compose up -d  
docker exec <container-name> <command>
docker exec <container-name> composer install

DocumentRoot: /var/www/app

ServerName app.test

⁠Build the image

docker buildx build -t user/ubuntu-laraps:base .

Tag summary

Content type

Image

Digest

sha256:abe56ed2e…

Size

249.3 MB

Last updated

almost 2 years ago

docker pull thordep/ubuntu-laraps