https://github.com/f213/centrifugo-ci
https://github.com/f213/centrifugo-ci
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/f213/centrifugo-ci
- Owner: f213
- Created: 2025-09-09T19:16:07.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-09-09T19:19:15.000Z (9 months ago)
- Last Synced: 2025-12-07T22:47:31.089Z (6 months ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Centrifugo
Convenience [Centrifugo](https://centrifugal.dev/) image to run on the dev machine or inside CI.
## Usage
### compose.yml
```yaml
centrifugo:
image: ghcr.io/f213/centrifugo-ci
environment:
- CENTRIFUGO_SECRET=secret
- CENTRIFUGO_ADMIN_PASSWORD=password
ports:
- 6080:6080
```
### Docker run
```bash
docker run -d \
-e CENTRIFUGO_SECRET=secret \
-e CENTRIFUGO_ADMIN_PASSWORD=password \
-p 6080:6080 \
ghcr.io/f213/centrifugo-ci
```
### GitHub Actions
```yaml
jobs:
test:
runs-on: ubuntu-latest
services:
centrifugo:
image: ghcr.io/f213/centrifugo-ci
env:
CENTRIFUGO_SECRET: secret
CENTRIFUGO_ADMIN_PASSWORD: password
ports:
- 6080:6080
steps:
- uses: actions/checkout@v4
- name: Run tests
run: |
# Your tests here
# Centrifugo is available at localhost:6080
```
## Configuration
- `CENTRIFUGO_SECRET`: Secret key used for JWT, HTTP API and admin secret
- `CENTRIFUGO_ADMIN_PASSWORD`: Admin panel password
- Port `6080`: Main server port