Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic #19

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
named: 'never',
asyncArrow: 'always'
}
]
],
'@typescript-eslint/method-signature-style': 'off'
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ application.yml
Lavalink.jar

logs/

docker-compose.override.yml
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM node:19.7.0-buster-slim
WORKDIR /app
COPY package.json ./
RUN yarn
4 changes: 4 additions & 0 deletions Lavalink/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM openjdk:11
WORKDIR /app
COPY Lavalink.jar application.yml ./
CMD ["java", "-jar", "Lavalink.jar"]
4 changes: 4 additions & 0 deletions docker-compose.override-example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: '3.3'
services:
app:
command: yarn webstorm
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.3'
services:
app:
build:
context: .
dockerfile: Dockerfile
volumes:
- .:/app
depends_on:
- lavalink
command: yarn prod
lavalink:
build:
context: ./Lavalink
dockerfile: Dockerfile
Loading