SHARE
TWEET

Untitled

a guest Mar 24th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3.     proxy:
  4.         image: nginx:latest
  5.         volumes:
  6.             - nginx-proxy-conf:/etc/nginx/
  7.             - nginx-proxy-ssl-certs:/etc/nginx/ssl
  8.             - nginx-proxy-html:/usr/share/nginx/html
  9.         ports:
  10.             - 80:80
  11.             - 443:443
  12. volumes:
  13.   nginx-proxy-conf:
  14.     driver: local
  15.     driver_opts:
  16.       o: bind
  17.       type: none
  18.       device: /home/ubuntu/wsrepo/docker/nginx/nginx-proxy/conf/
  19.   nginx-proxy-ssl-certs:
  20.     driver: local
  21.     driver_opts:
  22.       o: bind
  23.       type: none
  24.       device: /home/ubuntu/wsrepo/docker/nginx/nginx-proxy/ssl/certs
  25.   nginx-proxy-html:
  26.     driver: local
  27.     driver_opts:
  28.       o: bind
  29.       type: none
  30.       device: /home/ubuntu/wsrepo/docker/nginx/nginx-proxy/html
  31. networks:
  32.   wsproxy:
  33.     driver: overlay
  34.     ipam:
  35.       driver: default
  36.       config:
  37.         - subnet: 10.0.0.32/27
  38.         # - gateway: 10.0.0.0/26
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top