docker-compose.yml 504 B

1234567891011121314151617181920212223242526
  1. services:
  2. tp5-shelf:
  3. container_name: tp5-shelf
  4. build:
  5. context: .
  6. dockerfile: Dockerfile
  7. #ports:
  8. # - "8080:8080"
  9. volumes:
  10. - uploaded_data:/app/uploaded
  11. restart: unless-stopped
  12. healthcheck:
  13. test: ["CMD", "curl", "-f", "http://localhost:8080/"]
  14. interval: 30s
  15. timeout: 10s
  16. retries: 3
  17. start_period: 10s
  18. volumes:
  19. uploaded_data:
  20. name: file_upload_uploaded_data
  21. networks:
  22. default:
  23. name: caddy-network
  24. external: true