Skip to content

Instantly share code, notes, and snippets.

@pwFoo
Forked from talbergs/Caddyfile
Created December 12, 2016 21:32
Show Gist options
  • Save pwFoo/58aa04e9df5b9dc664fb3bd6ca946fbd to your computer and use it in GitHub Desktop.
Save pwFoo/58aa04e9df5b9dc664fb3bd6ca946fbd to your computer and use it in GitHub Desktop.
Docker[ Caddy php7 ]
0.0.0.0:80
fastcgi / phpfmp:9000 php
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
<?php
phpinfo();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment