C
C
ciedooy2018-05-02 15:42:33
Web development
ciedooy, 2018-05-02 15:42:33

Where can I find a sample Docker deployment for a PHP application?

Hello. Where can I read or find a ready-made example that describes all the stages of deploying a PHP application.
For example, there is an application on Laravel in the repository, respectively. How to deploy it to the server later?
As I understand it, there are separate containers for php-fpm, Nginx, Postgres, composer, node, cron, Redis... How can I link it all up later? Through gith hooks? Go into the container to update composer packages, go into the container with node to rebuild statics, etc.?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Mokevnin, 2018-05-02
@toxicmt

Judging by your question, you need to get acquainted with the following things:
1. Learn how to configure the infrastructure using ansible
1. Get acquainted with CI systems (ready-made with freeplan https://codeship.com/)
1. Set up local application operation via docker-compose ( learning docker along the way https://guides.hexlet.io/docker/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question