Advertisement
y2kbug

demo-nginx-docker-compose.yml

Sep 29th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. version: '3.5'
  2. services:
  3. nginx:
  4. container_name: nginx
  5. image: nginx:alpine
  6. ports:
  7. - "443:443"
  8. environment:
  9. - NGINX_HOST=test.dev
  10. - NGINX_PORT=443
  11. volumes:
  12. - type: bind
  13. source: ./config/cert.pem
  14. target: /etc/nginx/conf.d/cert.pem
  15. - type: bind
  16. source: ./config/private.key
  17. target: /etc/nginx/conf.d/private.key
  18. - type: bind
  19. source: ./config/origin-pull-ca.pem
  20. target: /etc/nginx/conf.d/origin-pull-ca.pem
  21. - type: bind
  22. source: ./config/sites.conf
  23. target: /etc/nginx/conf.d/sites.conf
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement