Dockerコンテナを使った開発・ステージング環境の構築.pdf

 Dockerコンテナを使った開発・ステージング環境の構築.pdf

230010be401fd30e6c1acf9af5639a4f?s=128

Tadayuki Takeya

March 23, 2019
Tweet

Transcript

  1. Docker      2019/03/23 Tadayuki Takeya

  2. Docker

  3. Docker • ! • Client − Docker"# • Server −

    VMware ESXi Server"#Docker"# •   • AWS Elastic Beanstalk • Amazon ECS"Elastic Container Service#  •    • AWS Elastic Beanstalk
  4. Docker Developer PHP Server MySQL Server DB Storage App Container

  5. docker-compose.yml version: "2" services: phps: container_name: "phps_web" restart: unless-stopped build:

    ./phps ports: - "80:80" - "50022:22" links: - phps_mysql:db volumes: - /var/run - ../phps_server/phps:/var/www/html/phps environment: SYSTEM_NAME: phps RUN_ENV: test RDS_HOSTNAME: phps_mysql RDS_DB_NAME: phps RDS_USERNAME: phps RDS_PASSWORD: ********** RDS_PORT: 3306 ADM_VER: 4.3.1 AWS_S3_REGION: ap-northeast-1 AWS_S3_BUCKET: phps-test-************** AWS_ACCESS_KEY_ID: ******************** AWS_SECRET_ACCESS_KEY: ************************* phps_mysql: container_name: "phps_mysql" build: ./mysql # restart: always restart: unless-stopped ports: - "3306:3306" volumes_from: - phps_storage phps_storage: build: ./storage
  6.  Docker Developers PHP Container Amazon Aurora App Container Amazon

    EC2 Container Registry