Skip to main content

Bridge the gap between local development and production. Intelligently convert docker-compose.yml to production-ready render.yaml Blueprints.

Project description

compose-to-render

Intelligently convert docker-compose.yml to production-ready render.yaml Blueprints for Render.

Quick Start

Installation

pip install compose-to-render

Usage

compose-to-render

The tool will generate a render.yaml file in the same directory

Example

This tool converts this:

docker-compose.yml (Your Local Dev)

services:
  web:
    build: .
    ports:
      - "5000:5000"
    volumes:
      - logvolume:/var/log
  redis:
    image: redis:alpine

volumes:
  logvolume:

Into this: render.yaml (Production on Render)

services:
  - name: web
    type: web
    autoDeploy: true
    dockerfilePath: Dockerfile
    disks:
      - name: logvolume
        mountPath: /var/log
    buildFilter:
      paths:
        - ./**
    ports: '5000'
  - name: redis
    type: pserv
    autoDeploy: true
    image:
      url: redis:alpine
      owner: docker

Features

  • Intelligent service type detection (Web vs. Private Services)
  • Named volume to Render Disk conversion
  • Environment variable and env_file mapping
  • Warnings for unsupported docker-compose keys

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compose_to_render-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

compose_to_render-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file compose_to_render-0.1.0.tar.gz.

File metadata

  • Download URL: compose_to_render-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.8.0-63-generic

File hashes

Hashes for compose_to_render-0.1.0.tar.gz
Algorithm Hash digest
SHA256 24938a3b24631e12e7b913f22ce3ae37efe992850dce7806236c452813ebff0e
MD5 9b88f45021ab7fc3241916a3521a63e2
BLAKE2b-256 a46d5f6768f6cac1015d0e1404c70b932ee0853132bf4eb6239ce42abb07ff6a

See more details on using hashes here.

File details

Details for the file compose_to_render-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: compose_to_render-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Linux/6.8.0-63-generic

File hashes

Hashes for compose_to_render-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f5bc2f64e34f44b72b4f98df55e0b7fb892bbed46c3a26dba53b8514da8d110
MD5 eecc0080fb70aa241cc1e47a5648c7d7
BLAKE2b-256 4fa50705889c8674fd75fb87a9e38a6f9601fbdf78ba77ed30e526c0de6299a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page