docker-compose.yml 422 B

123456789101112131415161718192021222324252627
  1. version: "2"
  2. services:
  3. nginx:
  4. image: nginx
  5. networks:
  6. - terminator
  7. - default
  8. restart: always
  9. environment:
  10. VIRTUAL_PORT: 80
  11. VIRTUAL_HOST: backup.pandorabox.io
  12. LETSENCRYPT_HOST: backup.pandorabox.io
  13. LETSENCRYPT_EMAIL: thomas@rudin.io
  14. volumes:
  15. - "./nginx.conf:/etc/nginx/nginx.conf:ro"
  16. - "./data/:/html"
  17. logging:
  18. options:
  19. max-size: 50m
  20. networks:
  21. terminator:
  22. external: true