GithubHelp home page GithubHelp logo

bridgecrew-perf7 / ansible-deploy-docker-symfony Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yohann76/ansible-deploy-docker-symfony

0.0 0.0 0.0 50 KB

Deploy an application Symfony with Docker and Ansible

Shell 17.50% PHP 52.74% VCL 0.50% Dockerfile 23.32% Twig 5.95%

ansible-deploy-docker-symfony's Introduction

"# Ansible-Deploy-Docker-Symfony"

Technology

This architecture proposes a reutilisable code and easy to maintain. It also provides good practice like MVC layout and object oriented.

This application works with the symfony framework ( 5.0.5 ).

  • Symfony
  • Docker ( configure your environment)
  • Ansible ( deploy with ansible folder)

for now, the application is deployed on a raspberry (local IP in Ansible)

Use this project

  • clone this project on your environment

  • configure your variable environment

  • run composer install

  • run php bin/console d:d:c

  • run php bin/console d:m:m

  • run php bin/console d:f:l -n

  • You can run this project with docker containers ( docker-compose included in this repository )

For Docker run :

run this project with docker containers (docker-compose included in this repository )

docker-compose up -d

Deployment

For Ansible, create your ansible/hosts.ini and run:
ansible-playbook ansible/playbook.yml -i ansible/hosts.ini --ask-vault-pass

if you want to modify this project, the following links you may be useful

  1. https://symfony.com/doc/current/index.html#gsc.tab=0
  2. https://www.docker.com/
  3. https://docs.ansible.com/ansible/latest/index.html

Other information

Standard :

  1. PSR2 ( https://www.php-fig.org/psr/psr-2/ )

ansible-deploy-docker-symfony's People

Contributors

yohann76 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.