All Projects → dmasior → Php Docker Skeleton

dmasior / Php Docker Skeleton

Licence: mit
Example PHP app dockerized

Projects that are alternatives of or similar to Php Docker Skeleton

Ecs Exporter
Export AWS ECS cluster metrics to Prometheus
Stars: ✭ 127 (+693.75%)
Mutual labels:  aws, aws-ecs
Aws Elasticache Retail Dashboard
AWS ElastiCache for Redis driven real-time retail dashboard
Stars: ✭ 24 (+50%)
Mutual labels:  aws, aws-ecs
Curso Aws Com Terraform
🎦 🇧🇷 Arquivos do curso "DevOps: AWS com Terraform Automatizando sua infraestrutura" publicado na Udemy. Você pode me ajudar comprando o curso utilizando o link abaixo.
Stars: ✭ 62 (+287.5%)
Mutual labels:  aws, aws-ecs
Multi Env Deploy
Complete example of deploying complex web apps to AWS using Terraform, Ansible, and Packer
Stars: ✭ 132 (+725%)
Mutual labels:  aws, aws-ecs
Serverlessish
Run the same Docker images in AWS Lambda and AWS ECS
Stars: ✭ 177 (+1006.25%)
Mutual labels:  aws, aws-ecs
Awesome Ecs
A curated list of awesome ECS guides, development tools, and resources
Stars: ✭ 2,672 (+16600%)
Mutual labels:  aws, aws-ecs
Terraform Aws Ecs
Terraform module which creates AWS ECS resources
Stars: ✭ 203 (+1168.75%)
Mutual labels:  aws, aws-ecs
Ecs Deploy
Powerful CLI tool to simplify Amazon ECS deployments, rollbacks & scaling
Stars: ✭ 541 (+3281.25%)
Mutual labels:  aws, aws-ecs
Opscloud
运维管理平台(阿里云),自动同步阿里云配置信息,堡垒机(容器),批量运维,Kubernetes,Zabbix管理等功能
Stars: ✭ 788 (+4825%)
Mutual labels:  aws
Aws Cloudformation Coverage Roadmap
The AWS CloudFormation Public Coverage Roadmap
Stars: ✭ 800 (+4900%)
Mutual labels:  aws
Boto3
AWS SDK for Python
Stars: ✭ 6,894 (+42987.5%)
Mutual labels:  aws
Aws Lambda Image
Automatic image resize/reduce on AWS Lambda
Stars: ✭ 790 (+4837.5%)
Mutual labels:  aws
Dynamodb Admin
GUI for DynamoDB Local or dynalite
Stars: ✭ 803 (+4918.75%)
Mutual labels:  aws
Bash My Aws
Bash-my-AWS provides simple but powerful CLI commands for managing AWS resources
Stars: ✭ 782 (+4787.5%)
Mutual labels:  aws
Aws Toolkit Vscode
AWS Toolkit for Visual Studio Code, an extension for working with AWS services including AWS Lambda.
Stars: ✭ 823 (+5043.75%)
Mutual labels:  aws
Ecs Refarch Continuous Deployment
ECS Reference Architecture for creating a flexible and scalable deployment pipeline to Amazon ECS using AWS CodePipeline
Stars: ✭ 776 (+4750%)
Mutual labels:  aws
Eks Distro
Amazon EKS Distro (EKS-D) is a Kubernetes distribution based on and used by Amazon Elastic Kubernetes Service (EKS) to create reliable and secure Kubernetes clusters.
Stars: ✭ 762 (+4662.5%)
Mutual labels:  aws
Rotate Eks Asg
Rolling Cluster Node Upgrades for AWS EKS
Stars: ✭ 6 (-62.5%)
Mutual labels:  aws
Serverless Plugin Warmup
Keep your lambdas warm during winter. ♨
Stars: ✭ 814 (+4987.5%)
Mutual labels:  aws
Aws Cdk
The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
Stars: ✭ 7,963 (+49668.75%)
Mutual labels:  aws

Example PHP app dockerized

This repository shows example usage of Docker in your PHP app. It solves common problems when working with Docker on dev/prod environments.

  • No more permission denied issues thanks to creating user with same ID as yours
  • No more dev/prod Dockerfiles. Just one Dockerfile per container thanks to using multi-stage builds
  • Easy & simple way to add another container such as redis, db and so on

Dockerfile's located in .docker and it's subdirectories.

App is built and pushed through actions to AWS ECR and then deployed to ECS (Fargate). See .github/workflows/build-and-deploy.yml.

Try it out

1. Clone

$ git clone [email protected]:initx/php-docker-skeleton.git \
    && cd php-docker-skeleton

2. Run dev environment

$ docker-compose up -d

3. Dig into app container

$ docker exec -it app_php bash

Tip: it is cool to create alias for entering app container in your .bashrc or .zshrc:

alias app_bash='docker exec -it app_php bash'

4. Install dependencies

$ composer install

5. Visit localhost:8080

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].