https://github.com/awe-templates/php-docker-starter
PHP Docker starter with serversideup/php images
https://github.com/awe-templates/php-docker-starter
docker docker-laravel-starter docker-php-nginx
Last synced: 11 days ago
JSON representation
PHP Docker starter with serversideup/php images
- Host: GitHub
- URL: https://github.com/awe-templates/php-docker-starter
- Owner: awe-templates
- License: mit
- Created: 2024-11-13T13:14:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-28T15:29:18.000Z (about 1 year ago)
- Last Synced: 2025-03-28T16:29:42.523Z (about 1 year ago)
- Topics: docker, docker-laravel-starter, docker-php-nginx
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# php-docker-starter
PHP Docker starter template with serversideup/php images for PHP apps (*Laravel compatiable*).
> [!NOTE]
> This setup may not work with your PHP apps directly. According to your app, you may need to configure with entrypoint. For example in Laravel apps, you need to consider `public` folder as document root. It dependds on your app/framework configurqation, you may need to change the `Dockerfile` or `docker-compose.yml` file.
## Usage
### 1. Add the following variables to your `.env` file
Copy [.env.example](./.env.example) file and rename as `.env`.
### 2. Run the following command
```bash
docker-compose up -d
```
When you need install specific PHP extensions, check [Dockerfile](./Dockerfile#L10).