moved nginx-conf into docker image
parent
522cb63f5e
commit
fbade425ab
|
@ -18,12 +18,13 @@ services:
|
|||
# Nginx Service
|
||||
nginx:
|
||||
container_name: web
|
||||
image: nginx:latest
|
||||
build:
|
||||
dockerfile: nginx-dockerfile
|
||||
context: .
|
||||
links:
|
||||
- 'php'
|
||||
volumes:
|
||||
- 'webdata:/var/www/html'
|
||||
- './nginx-conf:/etc/nginx/conf.d'
|
||||
depends_on:
|
||||
- php
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
FROM nginx:latest
|
||||
ADD nginx.conf /etc/nginx/conf.d/nginx.conf
|
Loading…
Reference in New Issue