docker-compose.yaml 579 B

123456789101112131415161718192021222324252627
  1. ---
  2. version: '3'
  3. services:
  4. snac:
  5. build: .
  6. image: snac
  7. container_name: snac
  8. restart: unless-stopped
  9. security_opt:
  10. - no-new-privileges:true
  11. volumes:
  12. - ./data:/data
  13. ports:
  14. - "8001:8001"
  15. nginx-alpine-ssl:
  16. build: examples/nginx-alpine-ssl
  17. image: examples/nginx-alpine-ssl
  18. container_name: nginx-alpine-ssl
  19. restart: unless-stopped
  20. security_opt:
  21. - no-new-privileges:true
  22. ports:
  23. - "443:443"
  24. - "80:80"