https://github.com/uzer/docker-ninjamserver
Alpine Ninjam server
https://github.com/uzer/docker-ninjamserver
alpine docker ninjam ninjamserver
Last synced: 6 months ago
JSON representation
Alpine Ninjam server
- Host: GitHub
- URL: https://github.com/uzer/docker-ninjamserver
- Owner: uZer
- Created: 2020-03-14T11:53:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T19:53:46.000Z (over 1 year ago)
- Last Synced: 2024-04-02T20:36:09.258Z (over 1 year ago)
- Topics: alpine, docker, ninjam, ninjamserver
- Language: Makefile
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alpine NINJAM Server container



Small alpine container for Ninjam server.
Project URLs:
[Official Website](https://www-dev.cockos.com/ninjam/) |
[Dockerhub](https://hub.docker.com/r/uzer/ninjamserver) |
[Github (Dockerfiles + Samples)](https://github.com/uZer/docker-ninjamserver)## Usage
1) Clone the repository
2) Edit the example configuration file according to your needs.
Please change the admin password `myadminpass` to something else!3) Run:
```
$ docker-compose up
```Container port will get exposed on your host.
## Kubernetes example
```yaml
---
apiVersion: v1
kind: Service
metadata:
name: ninjam
labels:
app: ninjam
spec:
selector:
app: ninjam
ports:
- name: ninjam
port: 2049
targetPort: ninjam
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ninjam
labels:
app: ninjam
spec:
replicas: 1
selector:
matchLabels:
app: ninjam
template:
metadata:
labels:
app: ninjam
spec:
containers:
- name: ninjam
image: uzer/ninjamserver:latest
imagePullPolicy: Always
ports:
- containerPort: 2049
name: ninjam
volumeMounts:
- mountPath: /app
name: ninjam-config
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 400m
memory: 128Gi
volumes:
- name: ninjam-config
hostPath:
path: "/config/ninjamserver/ninjam-config/"
type: DirectoryOrCreate
```