daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest May 16th, 2018 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3.6'
  2.  
  3. secrets:
  4.   dhparam.pem:
  5.     external: true
  6.   registry.example.com.fullchain:
  7.     external: true
  8.   registry.example.com.privkey:
  9.     external: true
  10.   registry_htpasswd:
  11.     external: true
  12.  
  13. services:
  14.  
  15.   nginx:
  16.     image: nginx-front:latest
  17.     build:
  18.       context: ./nginx
  19.     ports:
  20.       - target: 8080
  21.         published: 80
  22.         protocol: tcp
  23.         mode: host
  24.       - target: 8443
  25.         published: 443
  26.         protocol: tcp
  27.         mode: host
  28.     restart: always
  29.     deploy:
  30.       mode: global
  31.     logging:
  32.       driver: 'json-file'
  33.       options:
  34.         max-size: '10m'
  35.         max-file: '2'
  36.     secrets:
  37.       - dhparam.pem
  38.       - registry.example.com.fullchain
  39.       - registry.example.com.privkey
  40.       - registry_htpasswd
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
 
Top