Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elitecolors/symfony-api
Symfony && docker
https://github.com/elitecolors/symfony-api
api-rest messenger php phpstan phpunit rector symfony
Last synced: 30 days ago
JSON representation
Symfony && docker
- Host: GitHub
- URL: https://github.com/elitecolors/symfony-api
- Owner: elitecolors
- Created: 2024-03-19T12:28:02.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-25T14:32:26.000Z (9 months ago)
- Last Synced: 2024-10-31T04:22:21.473Z (3 months ago)
- Topics: api-rest, messenger, php, phpstan, phpunit, rector, symfony
- Language: PHP
- Homepage:
- Size: 501 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP symfony environment with JSON REST API example
Docker environment (based on official php and mysql docker hub repositories) required to run Symfony with JSON REST API example.[![Actions Status](https://github.com/systemsdk/docker-symfony-api/workflows/Symfony%20Rest%20API/badge.svg)](https://github.com/systemsdk/docker-symfony-api/actions)
[![CircleCI](https://circleci.com/gh/systemsdk/docker-symfony-api.svg?style=svg)](https://circleci.com/gh/systemsdk/docker-symfony-api)
[![Coverage Status](https://coveralls.io/repos/github/systemsdk/docker-symfony-api/badge.svg)](https://coveralls.io/github/systemsdk/docker-symfony-api)
[![Latest Stable Version](https://poser.pugx.org/systemsdk/docker-symfony-api/v)](https://packagist.org/packages/systemsdk/docker-symfony-api)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)## Requirements
* Docker version 18.06 or later
* Docker compose version 1.22 or later
* An editor or IDENote: OS recommendation - Linux Ubuntu based.
## Components
1. Nginx 1.25
2. PHP 8.2 fpm
3. MySQL 8
4. xdebug
4. Symfony 6
5. RabbitMQ 3
6. Elasticsearch 7
7. Kibana 7
8. Redis 7## Start project
1. docker-compose build
2. docker-compose up -d### Access to phpserver container
docker exec -it -u www-data api-phpserver /bin/bash## URL rabbit
http://localhost:15672/#/user : guess
pwd: guess## URL Elasticsearch
http://localhost:9200/example
http://localhost:9200/products