-
-
Save pwFoo/58aa04e9df5b9dc664fb3bd6ca946fbd to your computer and use it in GitHub Desktop.
Docker[ Caddy php7 ]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0.0.0.0:80 | |
fastcgi / phpfmp:9000 php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
caddy: | |
image: abiosoft/caddy | |
ports: | |
- 80:80 | |
- 443:443 | |
links: | |
- phpfmp | |
volumes: | |
- .:/srv | |
- ./Caddyfile:/etc/Caddyfile | |
phpfmp: | |
image: php:7.1.0-fpm-alpine | |
volumes: | |
- .:/srv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
phpinfo(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment