Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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();
@talbergs

This comment has been minimized.

Copy link
Owner Author

commented Dec 12, 2016

docker-compose up

@renegoretzka

This comment has been minimized.

Copy link

commented Dec 12, 2016

Hello Martan,

thanks for your post. How should this being done with multiple websites? Since they're using the same volume.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.