compose-generator / compose-generator Goto Github PK
View Code? Open in Web Editor NEW๐ณ Easy to use cli tool to generate Docker Compose configurations
Home Page: https://compose-generator.com
License: Apache License 2.0
๐ณ Easy to use cli tool to generate Docker Compose configurations
Home Page: https://compose-generator.com
License: Apache License 2.0
Currently, I understand we can use 'custom' backends, etc. in the prompt by choosing custom services and defining the Docker image to pull, env vars, network exposure, etc.
However, I am encountering the issue that if you only are working with a custom service definition and no other templated service definitions the program hard-errors on "No templates selected." and aborts.
Is this by-design? Or is this a bug? (If this is a bug I'll re-file as a Bug type issue and follow your layout/template)
Running the docker image on arm (M1) is not supported.
Add linux/arm64/v8
to the build-process.
No response
No response
Instead of having templates for predefined stacks, a dynamic approach would be much more efficent.
We have several questions when generating a docker-compose
Include nginx reverse proxy: jwilder/nginx-proxy , include let's encry: jrcs/letsencrypt-nginx-proxy-companion
Angular / React / Vue -> does frontend exist? no -> run create-react-app / npx create-next-app / ng new
Spring / Node / PHP / Rust -> does backend exist? no -> run sprinig initializer / ...
Postgres / MariaDB / Mongo / H2 / ....
Phpmyadmin, pgAdmin
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for networks: 'backend-database'
Unsupported config option for services: 'backend-node'
my docker-compose.yml file generated like this: docker-compose.yml file
running project by command docker-compose up
generated stack: react + node + postgres + adminer
- OS:Ubuntu 20.04
- Installation method:deb file
- npm:8.15.0
Docker version 20.10.18, build b40c2f6
docker-compose version 1.25.0, build unknown
why compose-generator doesn't startd without sudo?
No response
Add FastAPI under backend framework.
No response
No response
Following the "from scratch" guide, after installing the compose-generator from the repository listed in the documentation, I am following the setup process and setting up a single-container "custom" environment - I choose a custom frontend, and follow all the config steps, and leave all other options left alone, and get an error at the end about "no templates selected", and it aborts.
I would expect that the 'custom' compose file would still be generated rather than it erroring saying it can't do it because no templates are selected.
Detailed steps in next section.
compose-generator g
Error will happen similar to:
ERROR: 2023/02/15 19:16:48 No templates selected. Aborting ...
- OS: Ubuntu 20.04 (and 22.04)
- Installation method: APT package manager via specified repositories
- Compose Generator version: 1.9.0 built on 2022-07-02 21:44:48 UTC by github-actions
Original question RE: this is here #431
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.