Use with the data container and phpfpm container.
- Certfificates and keys go in
/data/config/ssl/
. - Sites go in
/data/config/sites/
. - Nginx logs can be found in
/data/logs/
.
nginx:
image: impactbot/impact-platform-nginx
volumes_from:
- data
ports:
- "80:80"
- "443:443"
links:
- php
# required
php:
image: impactbot/impact-platform-php
volumes_from:
- data
ports:
- "9000:9000"
- The phpfpm container is required and aliased as
php
with docker-compose.