Fluxend uses Docker containers to create a consistent and predictable environment. There are four containers required to run the application effectively:
fluxend_api: The backend container.
fluxend_frontend: The frontend container.
fluxend_database: The PostgreSQL database container.
traefik: The Traefik container responsible for routing traffic to the right service.
The easiest way to deploy Fluxend is to stick with the setup we’ve already created for you. This setup takes care of building the required binaries and running the application in its natural state without unnecessary manual steps.
To get started:
Configure your .env variables and ensure BASE_DOMAIN is set correctly.
You can also take a look at our example workflow. We’re using this to deploy to our demo server directly from GitHub. It’s not perfect and will be improved in the coming days, but it should give you a good starting point and ideas on how deployment can be tackled in your own setup.