You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
311 B
YAML

web:
image: nginx:alpine
volumes:
- ./public:/usr/share/nginx/html
- ./conf.d:/etc/nginx/conf.d
ports:
- "8080:80"
links:
- php
restart: always
environment:
- NGINX_HOST=0.0.0.0
- NGINX_PORT=80
php:
build: ./php/
volumes:
- ./public:/usr/share/nginx/html
restart: always