Coolify: Difference between revisions
From CRC
No edit summary |
m Instructions category |
||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
=== Create a GitHub Repository === | === Create a GitHub Repository === | ||
# Go to [https://github.com/new GitHub new repository]. | # Go to [https://github.com/new GitHub new repository]. | ||
# Make it | # Make it '''public'''. | ||
# Do not initialize with a | # Do not initialize with a ''README.md''. | ||
# Press '''Create Repository'''. | # Press '''Create Repository'''. | ||
# After that, return to your Coolify instance. | # After that, return to your Coolify instance. | ||
| Line 44: | Line 44: | ||
== Notes == | == Notes == | ||
* Do not confuse | * Do not confuse ''Shared Variables'' with ''Environment Variables'': | ||
** '''Shared Variables''' are global values available across multiple resources. | ** '''Shared Variables''' are global values available across multiple resources. | ||
** '''Environment Variables''' are specific to one app, usually secrets. | ** '''Environment Variables''' are specific to one app, usually secrets. | ||
[[Category:Instructions]] | |||
Latest revision as of 04:46, 27 September 2025
Coolify lets you deploy apps directly from GitHub repositories and run them forever.
Info
- https://coolify.artyom.me
- Hosted by Emily
- Everyone has admin access and can invite people
How to host your bot/project on Coolify
Create a GitHub Repository
- Go to GitHub new repository.
- Make it public.
- Do not initialize with a README.md.
- Press Create Repository.
- After that, return to your Coolify instance.
Add a Project in Coolify
- Go to Coolify Projects.
- Click Add Project.
- Enter a name and description.
Add a Resource
- In your project, go to the Resources tab.
- Choose New.
- Select your kind of application (commonly Public Repository).
- Enter the link to your GitHub repository:
https://github.com/<username>/<repository>
- Press Check Repository.
- If you want quick setup, pick the default settings.
- Press Continue and Deploy.
Your app will now run continuously.
Environment Variables
- Environment Variables are stored secrets or settings for your project.
- They can be accessed inside your app, for example in Python:
os.environ.get("MY_SECRET")
- See also: Coolify Docs
Storage
- Coolify provides a project storage volume.
- Example in Python with TinyDB:
TinyDB("/storage/cooldowns.json")
Notes
- Do not confuse Shared Variables with Environment Variables:
- Shared Variables are global values available across multiple resources.
- Environment Variables are specific to one app, usually secrets.
