Asset are not stored

I’m using Docker Compose, and the images from penpotapp are not uploading assets.

Hi. Could you please tell me what is your environment? The operating system you are using, if you are using any container management application or just plain docker commands, etc.

Also are you using the default docker-compose.yaml and config.env files, or have you modified something?

Thanks.

I updated to the latest image and now the images are stored, but not displayed
I’m using Ubuntu with docker, docker-compose,
this is my docker compose file:

version: "3.5"

networks:
  penpot:

volumes:
  penpot_postgres_data:
  penpot_assets_data:

services:
  penpot-frontend:
    container_name: penpot-frontend
    image: penpotapp/frontend:latest
    ports:
      - 9001:80

    environment:
      - PENPOT_FLAGS=${PENPOT_FLAGS}
      - PENPOT_PUBLIC_URI=${PENPOT_PUBLIC_URI}
      - PENPOT_TELEMETRY_ENABLED=${PENPOT_TELEMETRY_ENABLED}
      - PENPOT_TELEMETRY_WITH_TAIGA=${PENPOT_TELEMETRY_WITH_TAIGA}
      - PENPOT_REGISTRATION_ENABLED=${PENPOT_REGISTRATION_ENABLED}
      - PENPOT_ALLOW_DEMO_USERS=${PENPOT_ALLOW_DEMO_USERS}
      # Open ID
      - PENPOT_OIDC_CLIENT_ID=${PENPOT_OIDC_CLIENT_ID}


    depends_on:
      - penpot-backend
      - penpot-exporter

    networks:
      - penpot
    restart: always
  penpot-backend:
    container_name: penpot-backend
    image: penpotapp/backend:latest
    volumes:
      - penpot_assets_data:/opt/data

    depends_on:
      - penpot-postgres
      - penpot-redis
    ports:
      - 6060:6060

    environment:
      - PENPOT_FLAGS=${PENPOT_FLAGS}
      # Public URI
      - PENPOT_PUBLIC_URI=${PENPOT_PUBLIC_URI}
      # Redis
      - PENPOT_REDIS_URI=${PENPOT_REDIS_URI}
      # Telemetry
      - PENPOT_TELEMETRY_ENABLED=${PENPOT_TELEMETRY_ENABLED}
      - PENPOT_TELEMETRY_WITH_TAIGA=${PENPOT_TELEMETRY_WITH_TAIGA}
      # Registration
      - PENPOT_REGISTRATION_ENABLED=${PENPOT_REGISTRATION_ENABLED}
      - PENPOT_ALLOW_DEMO_USERS=${PENPOT_ALLOW_DEMO_USERS}
      # Database
      - PENPOT_DATABASE_URI=${PENPOT_DATABASE_URI}
      - PENPOT_DATABASE_USERNAME=${PENPOT_DATABASE_USERNAME}
      - PENPOT_DATABASE_PASSWORD=${PENPOT_DATABASE_PASSWORD}
      # Open ID
      - PENPOT_OIDC_CLIENT_ID=${PENPOT_OIDC_CLIENT_ID}
      - PENPOT_OIDC_BASE_URI=https://login.microsoftonline.com/${PENPOT_OIDC_TENANT_ID}/v2.0/
      - PENPOT_OIDC_CLIENT_SECRET=${PENPOT_OIDC_CLIENT_SECRET}
      # SMTP
      - PENPOT_SMTP_DEFAULT_FROM=${PENPOT_SMTP_DEFAULT_FROM}
      - PENPOT_SMTP_DEFAULT_REPLY_TO=${PENPOT_SMTP_DEFAULT_REPLY_TO}
      - PENPOT_SMTP_HOST=${PENPOT_SMTP_HOST}
      - PENPOT_SMTP_PORT=${PENPOT_SMTP_PORT}
      - PENPOT_SMTP_USERNAME=${PENPOT_SMTP_USERNAME}
      - PENPOT_SMTP_PASSWORD=${PENPOT_SMTP_PASSWORD}
      - PENPOT_SMTP_TLS=${PENPOT_SMTP_TLS}
      # Assets
      - PENPOT_ASSETS_STORAGE_BACKEND=assets-fs
      - PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets

    networks:
      - penpot
    restart: always
  penpot-exporter:
    container_name: penpot-exporter
    image: penpotapp/exporter:latest
    environment:
      # Don't touch it; this uses internal docker network to
      # communicate with the frontend.
      - PENPOT_PUBLIC_URI=http://penpot-frontend
    networks:
      - penpot
    restart: always
  penpot-postgres:
    container_name: penpot-postgres
    image: postgres:13
    restart: always
    stop_signal: SIGINT
    environment:
      - POSTGRES_INITDB_ARGS=--data-checksums
      - POSTGRES_DB=${PENPOT_DATABASE_DBNAME}
      - POSTGRES_USER=${PENPOT_DATABASE_USERNAME}
      - POSTGRES_PASSWORD=${PENPOT_DATABASE_PASSWORD}
    volumes:
      - penpot_postgres_data:/var/lib/postgresql/data
    networks:
      - penpot
  penpot-redis:
    container_name: redis
    image: redis:6
    restart: always
    networks:
      - penpot

I have a reverse proxy, pointing to that container at port 9001,
I can see the files being uploaded on the directory I specified: PENPOT_STORAGE_ASSETS_FS_DIRECTORY=/opt/data/assets

but assets are not being displayed:

that request is not on frontend logs or backend logs

Tried also opening the port for the backend and specify the proxy location with the same 404 result:
image

BTW, I’m using nginx proxy manager