Skip to content

Commit

Permalink
created nginx image for remote usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ollin committed Mar 12, 2017
1 parent bcc0e96 commit 2c5847d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions broker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ networks:

services:
nginxedge:
image: jwilder/nginx-proxy
build:
context: ./nginxedge
container_name: nginx-edge
ports:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/tmp/docker.sock:ro"
- "./nginxedge/my_proxy.conf:/etc/nginx/conf.d/my_proxy.conf:ro"
networks:
nautsch.net:
restart: always
Expand Down
5 changes: 5 additions & 0 deletions broker/nginxedge/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM jwilder/nginx-proxy
MAINTAINER Oliver Nautsch

ADD my_proxy.conf /etc/nginx/conf.d/

0 comments on commit 2c5847d

Please sign in to comment.