docker-compose.yml (example for a publish docker):
version: '3'
services:
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./public_html:/public_html
- ./conf.d:/etc/nginx/conf.d
links:
- php
php:
image: pasthortown/php:latest
volumes:
- ./public_html:/public_html
links:
- postgres
postgres:
image: postgres:latest
ports:
- "9090:5432"
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
Content type
Image
Digest
Size
302.2 MB
Last updated
about 5 years ago
docker pull pasthortown/php