A project from Ubuntu 22.04 to mount a web service with laravel 11.0 using apache connecting to sql
536
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.
Dockerfile linkslatest
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
services:
web:
image: thordep/ubuntu-laraps:laravel
volumes:
- ./my_laravel_project:/var/www/app
docker ps
docker exec -it <CONTAINER_ID> composer install
docker compose up -d
ubuntu-laraps instance without ENVVARS, only with apache default configurationdocker compose up -d
docker exec <container-name> <command>
docker exec <container-name> composer install
DocumentRoot: /var/www/app
ServerName app.test
docker buildx build -t user/ubuntu-laraps:base .
Content type
Image
Digest
sha256:abe56ed2e…
Size
249.3 MB
Last updated
almost 2 years ago
docker pull thordep/ubuntu-laraps