Skip to content

cmjoseph07/frizzante-docker

Repository files navigation

Frizzante-Docker

🐙 Getting Started

Note

Frizzante Docker is A Docker-based installer and runtime for Frizzante.

  1. If not already done, install Docker Compose (v2.10+).
  2. Clone this project.
    git clone git@github.com:cmjoseph07/frizzante-docker.git && cd frizzante-docker
  3. Build fresh images.
    docker compose build --pull --no-cache
  4. Create a fresh Frizzante project and start the container.
    docker compose up
    Subsequent runs of this command will simply start the container.
  5. Attach to the container with your IDE or with your shell.
    docker exec -it frizzante-start sh
  6. You can stop the container with
    docker compose down --remove-orphans

Tip

As an alternative, instead of starting the container in background and attaching to it, you can directly start the development server inline.

DEV=1 docker compose up

However, this docker project doesn't integrate with Go Delve for various reasons, hence you won't be able to debug your application out of the box if you choose to develop this way.

🚀 Production with Docker

Option 1: Build and run production binary inside container

# Inside the container
frizzante --build
./.gen/bin/app

Option 2: Build production Docker image

docker build --target frizzante_prod -t my-app:prod .
docker run -p 8080:8080 my-app:prod

Option 3: Use Docker Compose for production

docker compose -f compose.yaml -f compose.prod.yaml up -d --build

⚡️ Features

  • Prod, Dev, and CI ready
  • Single service, can do everything through Docker.
  • Blazing-fast performance thanks to Go + Svelte
  • Super-readable configuration with comments for easy editing

📚 Docs

Note

Coming soon with additional guides and extra services.

🤝 Credits

License

Frizzante Docker is available under the MIT License.

About

A Docker-based installer and runtime for Frizzante.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors