services: pinata: image: codeberg.org/gigirassy/pinata:latest # Remove 127.0.0.1 if not behind reverse proxy; change host port if need be! If behind Anubis or another bot protection, change the below line to: # expose: # - 8080 # and then point Anubis to pinata:8080 ports: - "127.0.0.1:8080:8080" environment: # Set this to a key generated with the "head -c 32 /dev/urandom | base64" command if you want to enable bookmarks for users; this allows cookies to be encrypted so you'll never see their searches. - PINATA_BOOKMARK_KEY=ccXVnfuxzMSzgEz3RkEdpPVKDxDBcTbULo/w7JpIYN0= # just an example! # The reverse image search uses Tineye, which often requires Cloudflare! If you aren't comfortable with it, set this variable to 0. - PINATA_DISABLE_REVERSE=1 # Chunk mode! This is a feature that allows you to process Pinterest images faster at the cost of using slightly more memory. Set to 0 to disable. - CHUNK=0 # Comment below out if you don't want to use the Rust image proxy! Pinata is functional without it. - PINATA_IMAGE_BACKEND=http://pinata-proxy:8081 restart: unless-stopped networks: - pinata # Autocompressing image proxy! pinata-proxy: container_name: pinata_proxy build: context: ./image-proxy dockerfile: Dockerfile.custom # prebuilt, although the dockerfile provides more optimization # image: codeberg.org/gigirassy/image-proxy:latest ports: - "127.0.0.1:45233:8081" networks: - pinata networks: pinata: