Skip to content

Commit

Permalink
feat: create DB for LuckPerms in initdb.d
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Sep 22, 2024
1 parent c87720b commit 5b8dedd
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ spec:
volumeMounts:
- mountPath: /docker-entrypoint-initdb.d
name: sqldump-volume
- name: create-db-for-plugins
image: busybox:1.36.1
imagePullPolicy: IfNotPresent
args:
- sh
- -c
- |
echo 'CREATE DATABASE IF NOT EXISTS luckperms;' > /docker-entrypoint-initdb.d/create-db.sql
volumeMounts:
- mountPath: /docker-entrypoint-initdb.d
name: sqldump-volume
restartPolicy: Always
volumes:
- name: storage
Expand Down

0 comments on commit 5b8dedd

Please sign in to comment.