Skip to content

SteliyanPStoyanov/laravel-project-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Project Container with PHP 8+ and Apache

CircleCI

Dockerfile

This file containes all the php extension and configurations.

Project Container Commands

Build container commands:

bin/build

Start all container commands:

bin/start

Stop all container commands:

bin/stop

Project Folder Location

Laravel project must be in src folder by default. You can change it from docker-composer.yml file.

Enter In Project Container

bin/shell

Registering The SSL Certificates

You must to run command from WebServer directory and must include all the apps, because they use one certificate.

mkcert -cert-file ./docker_files/cert -key-file ./docker_files/cert-key portainer.localhost traefik.localhost 

Then you need to add all the apps addresses app1.localhost, app2.localhost, etc.

mkcert -cert-file ./docker_files/cert -key-file ./docker_files/cert-key portainer.localhost traefik.localhost  app1.localhost app2.localhost

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published