Alpine-based lightweight ninjam server image.
100K+
Small alpine container for Ninjam server.
Project URLs: Official Website | Dockerhub | Github (Dockerfiles + Samples)
Clone the repository
Edit the example configuration file according to your needs.
Please change the admin password myadminpass to something else!
Run:
$ docker-compose up
Container port will get exposed on your host.
---
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
Content type
Image
Digest
sha256:f3dbb5c31…
Size
22.7 MB
Last updated
13 days ago
Requires Docker Desktop 4.37.1 or later.