You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
303 B
18 lines
303 B
4 years ago
|
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:
|
||
|
image: php:7-fpm-alpine
|
||
|
volumes:
|
||
|
- ./public:/usr/share/nginx/html
|