docker-compose.yml 526 B

123456789101112131415161718192021222324
  1. version: "3.7"
  2. services:
  3. pixivfe:
  4. container_name: pixivfe
  5. hostname: pixivfe
  6. restart: always
  7. user: 65534:65534
  8. read_only: true
  9. security_opt:
  10. - no-new-privileges:true
  11. cap_drop:
  12. - ALL
  13. build:
  14. context: .
  15. dockerfile: Dockerfile
  16. ports:
  17. - "8282:8282"
  18. environment:
  19. # Visit https://codeberg.org/VnPower/PixivFE/wiki/Environment-variables for more details
  20. - PIXIVFE_TOKEN=changethis
  21. - PIXIVFE_PORT=8282
  22. - PIXIVFE_IMAGEPROXY=pximg.cocomi.cf