Saltar al pie de página
USANDO IRONSECUREDOC

Coolify Docker Compose (Cómo funciona para desarrolladores)

Docker has changed the paradigm of software development, shipment, and deployment. It is a containerization platform where a developer can package an application and its dependencies in a deployable container with a minimal footprint. Consistency that the containers guarantee across environments enables seamless deployment and scaling across different environments: from development to testing and into production. With Docker, organizations reduce infrastructure complexity, enhance resource efficiency, and quicken the development lifecycle.

What is Coolify?

Coolify is an open-source, self-hosted platform that aims to make deploying and managing applications, databases, and websites easier. It provides a very user-friendly interface that abstracts the complexity of traditional DevOps processes, allowing developers to deploy applications to any server including their own servers with just a few clicks. Coolify supports popular frameworks, Dockerized applications, static sites, and databases like PostgreSQL and MySQL, making it a versatile tool for developers and small teams. With continuous deployment possible through integrations with cloud platforms and Git repositories, Coolify provides a focus on self-hosting for data privacy and control. Coolify works well for those who wish to automate deployment without necessarily getting into the nitty-gritty of DevOps.

Coolify Docker Compose (How it Works for Developers): Figure 2 - Coolify

Features of Coolify

Coolify is a self-hosted solution to make deployment and management easier. Coolify brings together ease-of-use features with containerization and automation. Key Features include:

Effortless Application Deployment

  • Deploy your applications in no time using the intuitive, web-based interface.
  • Support for Node.js, Python, Ruby, PHP, and many other languages and frameworks.

Dockerized Application Support

  • Easily deploy and manage Docker containerized applications.
  • Handles Docker Compose for multi-container setups.

Static Site Hosting

  • Host static web apps generated with frameworks like Hugo, Jekyll, and Next.js out of the box without any extra configuration.

Database Management

Easy setup and management of popular databases including:

  • PostgreSQL
  • MySQL
  • MongoDB
  • Redis
  • Backup and restore

Git Integration

Connect Coolify with your providers. Currently, GitHub, Bitbucket, and GitLab will work.
Build and Deploy automatically on every push into your repository.

Continuous Deployment

  • Automated deployment pipelines every time something changes in your code.
  • Inbuilt CI/CD for seamless lifecycle management of your application.

Multi-Cloud

  • Deploy applications to any popular cloud platform or your on-premises server.
  • Supports both single-node and multi-node environments.

Resource Monitoring

Real-time monitoring of CPU, memory, and storage usage for deployed applications and databases.

SSL and Custom Domains

  • Automatically configure SSL using Let's Encrypt.
  • Map applications to custom domains with just a few clicks.

Self-hosted for Full Control

  • Retain ownership and control of your deployment environment.
  • No dependency on any third-party PaaS ensures data privacy and security.

Light and Scalable

  • Optimized for small teams and developers, yet able to scale up to bear larger workloads.
  • Harnessing the efficiency of Docker for running several applications with ease.

Open Source

Fully open source, thus enabling community contributions and customizations.

Coolify is a modern, flexible, and user-friendly tool for developers who want to handle deployments themselves without diving into complicated DevOps workflows.

How to install Coolify

Server Requirements:

  • Operating System: Linux (Ubuntu/Debian/CentOS preferred), Windows.
  • CPU: x86_64 architecture.
  • RAM: Minimum 2 GB (4 GB recommended).
  • Disk Space: At least 10 GB of free space.

Docker and Docker Compose.

Download Coolify

Pull the Coolify repository.

git clone https://github.com/coollabsio/coolify.git
cd coolify
git clone https://github.com/coollabsio/coolify.git
cd coolify
SHELL

Coolify Docker Compose (How it Works for Developers): Figure 3 - Coolify Repository

Configure Coolify

Generate a .env file for Coolify:

cp .env.example .env
cp .env.example .env
SHELL

Configure the necessary environment variables:

  • Set COOLIFY_APP_PORT for the port Coolify will run on (default: 3000).
  • If using a custom domain, configure COOLIFY_HOSTED_ON.

Start Coolify

Use the Docker command to start Coolify.

docker-compose up -d
docker-compose up -d
SHELL

Access Coolify

Open your browser and navigate to the below address.

http://localhost:3000

What is IronSecureDoc?

IronSecureDoc is a utility for document management and security with strong encryption, advanced PDF manipulation, and digital signing. It gives companies and developers document confidentiality and integrity with smooth access and, hence, simplifies the processing of PDF documents. This may also be called an Aggressive PDF API in instances when its features allow developers programmatically to create, upload, manipulate, and secure PDF files and documents.

Coolify Docker Compose (How it Works for Developers): Figure 4 - IronSecureDoc: The PDF Security and Compliance Server

Besides this, IronPDF is a PDF API that enables PDF creation from any data input and adds and edits the content with parameters such as text, images, and metadata. That includes facilities like merging several PDFs for composing files, splitting documents, and even annotating comments, highlights, or watermarks.

It offers password protection, AES encryption, and certificate-based access controls that lock all sensitive information and data. Besides this, it allows digital signing to authenticate documents and nonrepudiation-a very important feature in industries like financial, medical, and legal. The audit trail functionality allows tracking of all activities performed on the documents for better compliance and accountability.

Install and Run IronSecureDoc

Pull the Docker image of IronSecureDoc from the repository below by running the following command at the Command Prompt or an open terminal window.

docker pull ironsoftwareofficial/ironsecuredoc
docker pull ironsoftwareofficial/ironsecuredoc
SHELL

Coolify Docker Compose (How it Works for Developers): Figure 5 - Pull IronSecureDoc Docker Image

We pull an image from the Docker container and then use another command to start the IronSecureDoc, an operating container.

docker container run --rm -p 8080:8080 -e IronSecureDoc_LicenseKey=<IRONSECUREDOC_LICENSE_KEY> -e ENVIRONMENT=Development -e HTTP_PORTS=8080 ironsoftwareofficial/ironsecuredoc:latest
docker container run --rm -p 8080:8080 -e IronSecureDoc_LicenseKey=<IRONSECUREDOC_LICENSE_KEY> -e ENVIRONMENT=Development -e HTTP_PORTS=8080 ironsoftwareofficial/ironsecuredoc:latest
SHELL

The Docker run command above will start a container instance of the IronSecureDoc.

Deploy IronSecureDoc on Coolify

Once Coolify is up and running, you can deploy IronSecureDoc as a custom Docker service.

Steps to Add IronSecureDoc to Coolify

Login to Coolify:

Access the web interface of Coolify, for example, http://localhost:3000.

Coolify Docker Compose (How it Works for Developers): Figure 6 - Coolify Web Interface

To create a new application:

Coolify Docker Compose (How it Works for Developers): Figure 7 - New Application

  • Click on "Add New Resources".

Coolify Docker Compose (How it Works for Developers): Figure 8 - Add New Resources

  • Choose "Docker Image".

Configure IronSecureDoc:

  • Name: Give the service a name, for example, IronSecureDoc.
  • Image: Specify the Docker image for IronSecureDoc, for example, ironsoftwareofficial/ironsecuredoc:latest.

Coolify Docker Compose (How it Works for Developers): Figure 9 - Configure IronSecureDoc

  • Ports: Specify the port that IronSecureDoc exposes, for example, 5000.
  • Environment Variables: Add variables required by IronSecureDoc, such as API keys or database URLs.

Deploy the Service:

  • Click "Deploy" to start the container.
  • Once deployed, Coolify will manage the IronSecureDoc instance.

Coolify Docker Compose (How it Works for Developers): Figure 10 - Deploy Service

Adding Password to PDF document

IronSecureDoc's REST API represents an ultra-modern, web-based interface to interface safely with the functionalities for the management of documents and other kinds of data with advanced PDF processing, maintained through RESTful principles. Users would get a straightforward, regulated way to include different areas from IronSecureDoc functionality for custom applications regardless of which stack technologies the users use.

Coolify Docker Compose (How it Works for Developers): Figure 11 - REST API

By posting to the IronSecureDoc API in this way, we may also want to request permissions password in order to encrypt a request with a user password to a document: Link is generated from Coolify server.

curl -X 'POST' \
  'http://c0kwcw4k4wkw8gw4ww8wkg8s.41.243.46.67.sslip.io/v1/document-services/pdfs/encrypt?user_password=demo' \
  -H 'accept: */*' \
  -H 'Content-Type: multipart/form-data' \
  -F 'pdf_file=@test.pdf;type=application/pdf'
curl -X 'POST' \
  'http://c0kwcw4k4wkw8gw4ww8wkg8s.41.243.46.67.sslip.io/v1/document-services/pdfs/encrypt?user_password=demo' \
  -H 'accept: */*' \
  -H 'Content-Type: multipart/form-data' \
  -F 'pdf_file=@test.pdf;type=application/pdf'
SHELL

The document output file will be sent and downloaded automatically, and it will be securely saved.

Conclusion

Both Coolify and IronSecureDoc enable developers and organizations to push forward new workflows and extend security in unique ways.

Coolify is an open-source, self-hosted, and developer-friendly alternative to modern PaaS solutions. It provides ease in deploying and managing applications. It will be perfect for those teams that are looking for control, scalability, and ease of use when it comes to maintaining their environments. Having an intuitive interface and popular framework support provides a very strong basis for the needs of modern development.

On the other hand, IronSecureDoc puts much concentration on document integrity and security. Being able to digitally sign Docker images to protect sensitive documents, will meet organizations' needs to ensure compliance, data protection, and trust within their software delivery pipelines.

Dependable and Compliant: It offers complete audit abilities with high security. Using IronSecureDoc REST API, safe printing and effective PDF format and handling can now be easily integrated with the applications created by web, mobile, and corporate systems developers. To read more about the license of IronSecureDoc, visit the licensing page. For information about the products of Iron Software, follow the library suite page.

Preguntas Frecuentes

¿Cómo puedo implementar aplicaciones usando Coolify?

Coolify simplifica la implementación de aplicaciones a través de su interfaz intuitiva, compatible con lenguajes como Node.js, Python, Ruby y PHP. Abstrae tareas complejas de DevOps, permitiendo a los desarrolladores implementar aplicaciones en Docker con facilidad.

¿Cómo puedo gestionar la seguridad de documentos con IronSecureDoc?

IronSecureDoc ofrece una gestión robusta de documentos proporcionando cifrado fuerte, manipulación avanzada de PDF y firma digital. Esto asegura la confidencialidad e integridad del documento, haciéndolo adecuado para cumplir con normativas en diversas industrias.

¿Se puede usar Coolify con Docker Compose?

Sí, Coolify utiliza las capacidades de contenedorización de Docker, permitiendo a los desarrolladores implementar aplicaciones y gestionar bases de datos fácilmente usando Docker Compose.

¿Cuáles son algunas características clave de Coolify para los desarrolladores?

Coolify ofrece características como integración con Git para implementación continua, monitoreo de recursos, gestión de SSL y dominios personalizados, y soporte multi-nube, haciéndolo ideal para desarrolladores y pequeños equipos.

¿Cómo maneja Coolify los certificados SSL y las necesidades de dominios personalizados?

Coolify configura automáticamente SSL usando Let's Encrypt, facilitando la asignación de aplicaciones a dominios personalizados, asegurando conexiones seguras y fiables.

¿Qué hace a Coolify adecuado para equipos pequeños?

La interfaz amigable de Coolify, junto con su capacidad para abstraer tareas complejas de DevOps, facilita que los equipos pequeños desplieguen y gestionen aplicaciones y bases de datos eficientemente.

¿Cómo puede integrarse IronSecureDoc en los flujos de trabajo de implementación?

IronSecureDoc puede integrarse en los flujos de trabajo de implementación implementándolo como un contenedor Docker en Coolify, asegurando que la gestión y seguridad de documentos se gestionen sin problemas junto con las implementaciones de aplicaciones.

¿Cuáles son los beneficios de usar Docker con Coolify?

Docker, cuando se usa con Coolify, reduce la complejidad de la infraestructura, mejora la eficiencia de los recursos y acelera el ciclo de desarrollo asegurando una implementación consistente entre entornos.

Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más