Installation
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Choose the installation route that fits your environment.
Docker (recommended for servers)
docker pull commercemind/flux:1.4.2
docker run --rm \
-p 7470:7470 \
-e FLUX_WORKSPACE=acme \
-e FLUX_TOKEN=$FLUX_TOKEN \
commercemind/flux:1.4.2
docker-compose
version: '3.9'
services:
flux:
image: commercemind/flux:1.4.2
ports:
- '7470:7470'
environment:
FLUX_WORKSPACE: acme
FLUX_TOKEN: ${FLUX_TOKEN}
depends_on:
- postgres
postgres:
image: postgres:16
environment:
POSTGRES_PASSWORD: postgres
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
Kubernetes (Helm)
helm repo add commercemind https://charts.commercemind.se
helm repo update
helm install flux commercemind/flux \
--namespace flux --create-namespace \
--set workspace=acme \
--set auth.tokenSecret=flux-token
Local from source
git clone https://github.com/commercemind/flux.git
cd flux
dotnet build
dotnet run --project src/Flux.Host
Don't check in tokens
FLUX_TOKEN should live in your secrets manager, never in git. The CLI
refuses to read tokens from a world-readable config file.