compose configuration https://note.com/koushikagawa/n/nc63a8ae2e810 https://qiita.com/nemui_/items/f911be7ffa4f29293fd5 https://carametal.hatenablog.com/entry/2020/01/15/225637
version: '3' # Specify the version of docker-compose services: nginx: #service name container_name: "nginx" # container name image: nginx: 1.14 # Specify the image name. Here, the nginx image on Docker Hub is specified. links: # Create a link with the service name specified here --php # Associate service name "php" with "nginx" php: container_name: "php" image: php:7.2-apache ports: - '80:80' volumes: - ./html:/var/www/html
https://techplay.jp/column/613
Sync http://mashiroyuya.hatenablog.com/entry/dockerphp
Our sakura https://knowledge.sakura.ad.jp/13265/
Recommended Posts