D
Dokploy8mo ago
Daniel

How can I run Dockerfile with Baserow template?

So I'm trying to use Baserow with S3 for file media with no luck, because I need to run a Dockerfile and I'm not able to run it. How should I do it? Or is not possible to do it using a template? Because I only can edit the docker-compose and the environment, but I don't have a Dockerfile to add what I need. Dockerfile I need to run: FROM baserow/baserow:latest # Override the PEP 668 restriction by setting the environment variable ENV PIP_BREAK_SYSTEM_PACKAGES=1 # Install required Python packages RUN pip install boto3 django-storages Compose now: services: baserow: image: baserow-custom:latest networks: - dokploy-network environment: BASEROW_PUBLIC_URL: "https://${BASEROW_HOST}" DATABASE_URL: "${BASEROW_DB}" # S3 Storage Configuration DEFAULT_FILE_STORAGE: "storages.backends.s3boto3.S3Boto3Storage" AWS_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}" AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}" AWS_STORAGE_BUCKET_NAME: "${AWS_STORAGE_BUCKET_NAME}" AWS_S3_ENDPOINT_URL: "${AWS_S3_ENDPOINT_URL}" AWS_S3_REGION_NAME: "${AWS_S3_REGION_NAME}" AWS_S3_USE_SSL: "True" AWS_S3_ADDRESSING_STYLE: "virtual" AWS_DEFAULT_ACL: "private" volumes: baserow_data: networks: dokploy-network: external: true Thanks for your help
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?