update
This commit is contained in:
25
nginx-php/Demo/SingleNode/docker-compose.yml
Normal file
25
nginx-php/Demo/SingleNode/docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
nginx-php:
|
||||
image: harbor.colben.cn/general/nginx-php
|
||||
container_name: nginx-php
|
||||
restart: "on-failure"
|
||||
stop_grace_period: 5m
|
||||
privileged: true
|
||||
ports:
|
||||
- 80:80
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./nginx/html
|
||||
target: /var/lib/nginx/html
|
||||
- type: bind
|
||||
source: ./nginx/http.d
|
||||
target: /etc/nginx/http.d
|
||||
- type: bind
|
||||
source: ./nginx/log
|
||||
target: /var/log/nginx
|
||||
- type: bind
|
||||
source: ./php7/log
|
||||
target: /var/log/php7
|
||||
|
Reference in New Issue
Block a user