Added log by default to local /var/log/jamulus.log

This commit is contained in:
Dana Harrison 2021-09-19 23:32:13 -04:00
parent 71917d5dae
commit e5c33c0a04
3 changed files with 18 additions and 4 deletions

View File

@ -9,7 +9,9 @@ This implementation just logs to emptyDir by default, but you can mount a direct
### Values YAML ### Values YAML
containerPort: the port on which Jamulus will run and the port will be exposed to the service containerPort: the port on which Jamulus will run and the port will be exposed to the service
maxUsers: the maximum number of users able to connect to Jamulus at once maxUsers: the maximum number of users able to connect to Jamulus at once
serverMessage: the message shown to the user when connecting to the Jamulus server serverMessage: the message shown to the user when connecting to the Jamulus server
## Credits ## Credits

View File

@ -29,6 +29,13 @@ spec:
- "-u" - "-u"
- "{{ .Values.maxUsers }}" - "{{ .Values.maxUsers }}"
- "-T" - "-T"
resources: - "-l"
limits: - "{{ .Values.containerLog }}"
ephemeral-storage: 4G volumeMounts:
- mountPath: {{ .Values.containerMountPath }}
name: {{ .Values.containerMountName }}
volumes:
- name: {{ .Values.containerMountName }}
hostPath:
path: {{ .Values.localMountPath }}
type: Directory

View File

@ -2,4 +2,9 @@ containerPort: 22124
#Set this to whatever you like #Set this to whatever you like
maxUsers: 15 maxUsers: 15
#Set this to whatever you like #Set this to whatever you like
serverMessage: Welcome message goes here! serverMessage: Welcome message goes here!
#Location in the container to which you're logging
containerMountPath: /jam
containerMountName: jam
#Location on your filesystem to associate the /jam dir
localMountPath: /var/log