./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