Is their any easy way to change a non Docker site to a Docker site?
BACKUP FIRST! BACKUP FIRST! BACKUP FIRST! BACKUP FIRST! BACKUP FIRST!
Open your Project Settings and click on Targets (will need to do it for Local and Remote). Open Server Type and Select Docker and Save. Obviously make sure you have Docker Desktop installed first. Actually come to think of it I think the System Check should run and carry out any required package installs for you (auto-magically)...
Thanks Cheese
I noticed that the OS was Alpine, I am hoping that that that is not the OS t6hat it should be deployed to,
Great thing about Docker is you can flick between the OS as you wish. As an Ubuntu User I'm well versed in hardening it and lightning the load by shedding a lot of unnecesery packages and features. If you're not so accustomed to being hands on then Alpine does a lot of this work for you from the start. Really is a case of swings and roundabouts... Wappler applications will run fine on both. It is worth reading what Docker is and how it works if you are new to it. You'll be very surprised once you wrap your head around it.
The below summary is taken from Stackshare:
Alpine Linux vs Ubuntu: What are the differences?
Alpine Linux and Ubuntu are two popular Linux distributions with distinct characteristics and use cases. Let's explore the key differences between the two:
- Size and Footprint: Alpine Linux is known for its small size and minimalistic approach. It is designed to be lightweight and optimized for resource-constrained environments. The base Alpine image is significantly smaller compared to Ubuntu, making it ideal for containerized environments where efficient resource utilization is critical. On the other hand, Ubuntu is a more feature-rich distribution with a larger footprint, offering a wide range of packages and tools out-of-the-box.
- Package Management: Ubuntu uses the Advanced Package Tool (APT) as its package management system, providing a vast repository of precompiled packages. These packages can be easily installed and managed using apt-get or aptitude commands. Alpine Linux utilizes its package manager called apk. The Alpine Package Keeper (APK) is optimized for Alpine's minimalistic design, using the musl libc instead of glibc for smaller package sizes and faster installation.
- Security and Hardening: Alpine Linux has a strong focus on security and provides several built-in features for system hardening. It adopts a minimalistic approach by including only essential packages in its base image, reducing the attack surface. Ubuntu also emphasizes security and offers regular security updates and patches, but it has a broader package selection, which may introduce a larger attack surface if not properly managed.
- Community and Support: Ubuntu has a large and active community with extensive documentation and community-driven support. It benefits from a significant user base, making it easier to find resources and get help when needed. Alpine Linux has a smaller but growing community known for its focus on minimalism and efficiency. Additionally, Alpine Linux benefits from the support of the Docker community, as it is a popular choice for containerized environments.
- Use Cases: Alpine Linux's small size and minimalistic design make it well-suited for lightweight and resource-constrained environments. Ubuntu, with its larger footprint and broader package selection, is suitable for a wide range of use cases. It can be used for desktop usage, server deployments, and development environments that require a rich set of tools and libraries.
In summary, Alpine Linux offers a lightweight and minimalistic approach, optimized for resource-constrained environments and containerization. Ubuntu, on the other hand, provides a more feature-rich and versatile distribution suitable for various use cases.
Sites deployed to Railway are automatically containerized. Hence, no setup required for a NodeJS/SQLite project. Same goes for other platforms like PHP/MySQL.