https://github.com/pascalallen/dockersymfony
Fully containerized sample web application on PHP version 8 with a Symfony API backend. Docker containers for MySQL, NGINX, and PHP-FPM.
https://github.com/pascalallen/dockersymfony
docker mysql nginx php symfony
Last synced: 2 months ago
JSON representation
Fully containerized sample web application on PHP version 8 with a Symfony API backend. Docker containers for MySQL, NGINX, and PHP-FPM.
- Host: GitHub
- URL: https://github.com/pascalallen/dockersymfony
- Owner: pascalallen
- Created: 2021-04-26T13:47:26.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T16:29:05.000Z (about 5 years ago)
- Last Synced: 2025-09-03T07:45:19.342Z (9 months ago)
- Topics: docker, mysql, nginx, php, symfony
- Language: Shell
- Homepage:
- Size: 92.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Docker Symfony App
Fully containerized sample web application on PHP version 8 with a Symfony API backend.
Docker containers for MySQL, NGINX, and PHP-FPM.
## Prerequisites
- [Docker](https://www.docker.com/)
- [Docker Compose](https://docs.docker.com/compose/)
## Development Environment Setup
### Edit Hosts File
Add the following entry to your /etc/hosts file:
```
127.0.0.1 dockersymfony.test
```
### Clone Repository
$ `cd && git clone https://github.com/pascalallen/DockerSymfony.git`
### Create Environment file
$ `cp .env .env.local`
### Bring Up Environment
$ `bin/up`
### Install Composer Dependencies
$ `bin/composer install`
### Take Down Environment
$ `bin/down`
### Run Unit Tests
$ `bin/phpunit`