Added proxy
This commit is contained in:
14
compose/proxy/proxy.yml
Normal file
14
compose/proxy/proxy.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
web:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./web:/usr/share/nginx/html:ro
|
||||
|
||||
proxy:
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- 80:80
|
||||
volumes:
|
||||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
depends_on:
|
||||
- web
|
||||
Reference in New Issue
Block a user