blog
Version, currently main branch1 version
- main branchlatestApr 11, 2024
github.com/ysbaddaden/swarmit
No description declared in shard.yml.
Installation
# Add this to your shard.yml
dependencies:
blog:
github: ysbaddaden/swarmit
branch: mainmain is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
- no constraint declared
- License
- Apache-2.0
- Target
swarmitfrom src/server.cr
Dependencies
Runtime Dependencies
README
Swarmit
Docker Swarm User Interface
Status
Experimental.
Requirements
Requirements:
- Docker Swarm, either as a single manager node, or as a full featured manager(s) + worker(s) cluster;
- Google OAuth API service for authenticating users.
- PostgreSQL database.
Setup
This is a Crystal application, so you must install Crystal and Shards.
Compile the application:
$ shards build --release
Export environment variables:
DOCKER_HOST(optional, defaults tounix:///var/run/docker.sock)DATABASE_URL=postgres://user:password@host/databaseorPGHOST,PGPORT, ...GOOGLE_OAUTH_CLIENT_IDGOOGLE_OAUTH_CLIENT_SECRET
On initial setup, populate the PostgreSQL database from db/structure.sql. On
upgrade, you should run the individual database migrations:
$ crystal i bin/migrate.cr
Run the application. It can run outside the Swarm (useful in development), but for production it should run within the Swarm.
bin/swarmit
TODO: Dockerfile and compose.yml
License
Distributed under CECILL v2.1.
See LICENSE (English) and LICENSE-FR (French) for details.
Authors
- Julien Portalier julien@portalier.com
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
main- Seen
- Apr 11, 2024
- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/ysbaddaden/swarmit
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1