Guest User

Untitled

a guest
May 16th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment