Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rshkdl/docker-symfony
A complete stack for running a Symfony 4.4 LTS project with Docker. This project is created with a learning purpose in mind and is not suitable for production.
https://github.com/rshkdl/docker-symfony
docker kibana phpunit stack symfony
Last synced: 6 days ago
JSON representation
A complete stack for running a Symfony 4.4 LTS project with Docker. This project is created with a learning purpose in mind and is not suitable for production.
- Host: GitHub
- URL: https://github.com/rshkdl/docker-symfony
- Owner: RSHKDL
- Created: 2020-09-23T10:35:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-01T07:42:28.000Z (over 3 years ago)
- Last Synced: 2024-11-16T09:34:46.686Z (2 months ago)
- Topics: docker, kibana, phpunit, stack, symfony
- Language: PHP
- Homepage:
- Size: 174 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Symfony with Docker
This is a complete stack for running a Symfony 4.4 LTS project with Docker.
This project is created with a learning purpose in mind and is not suitable for production.## Requirements
- [Docker](https://docs.docker.com/engine/)
- [Docker Compose](https://docs.docker.com/compose/)## Stack
- PHP 7.4
- NGINX
- MySQL 8
- Symfony 4.4 LTS
- Webpack encore
- Elasticsearch 7.9.2
- Logstash 7.9.2
- Kibana 7.9.2The images are build upon [Alpine Linux](https://alpinelinux.org/). If you want to
update the Dockerfiles, you may need to refer to the Alpine Linux documentation.## Installation
1. Clone this repository.
`git clone [email protected]:RSHKDL/docker-symfony.git`
2. Create your docker-compose.
`cp docker-compose.yml.dist docker-compose.yml`
3. Replace the `` with your own values.
4. TODO
## Setup Elastic stack
1. Create your kibana.yml
`cp elastic-stack/kibana/kibana.yml.dist elastic-stack/kibana/kibana.yml`
2. Replace the `` with your own values.
3. Access Kibana at `localhost:`
## Tests
- Connect to php container : `make sh-php`
- Execute all tests suite : `bin\phpunit`
- Check your version : `bin\phpunit -v`On first use, Phpunit will download all dependencies. More information about Phpunit can be found
on the [Phpunit documentation](https://phpunit.readthedocs.io/en/7.5/) (version dependent)
or on the [Symfony documentation](https://symfony.com/doc/4.4/testing.html).