-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
223 changed files
with
9,436 additions
and
8,240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,7 @@ on: | |
|
||
jobs: | ||
build-and-publish-latest: | ||
runs-on: self-hosted | ||
|
||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/[email protected] # Checking out the repo | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
FROM node:18 | ||
FROM node:20 | ||
LABEL authors="Ole" | ||
|
||
WORKDIR /usr/app | ||
RUN apt update && apt install neofetch -y | ||
RUN apt update && curl -sLO https://github.com/fastfetch-cli/fastfetch/releases/latest/download/fastfetch-linux-amd64.deb && dpkg -i fastfetch-linux-amd64.deb | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY prisma . | ||
RUN npx prisma generate | ||
ARG DATABASE_URL | ||
ENV DATABASE_URL $DATABASE_URL | ||
RUN npx prisma migrate deploy && npx prisma generate | ||
COPY . ./ | ||
RUN npm run build | ||
CMD ["npm", "run", "dev"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
services: | ||
db: | ||
image: mariadb:latest | ||
restart: unless-stopped | ||
env_file: ./.env | ||
command: --wait-timeout=28800 | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=$DB_ROOT_PASSWORD | ||
- MYSQL_DATABASE=$DB_NAME | ||
- MYSQL_USER=$DB_USER | ||
- MYSQL_PASSWORD=$DB_PASSWORD | ||
volumes: | ||
- db:/var/lib/mysql | ||
volumes: | ||
db: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,23 @@ | ||
version: "3.8" | ||
include: | ||
- db.yml | ||
|
||
services: | ||
db: | ||
image: mariadb:latest | ||
restart: unless-stopped | ||
env_file: ./.env | ||
command: --wait-timeout=28800 | ||
ports: | ||
- "3307:3306" | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=$DB_ROOT_PASSWORD | ||
- MYSQL_DATABASE=$DB_NAME | ||
- MYSQL_USER=$DB_USER | ||
- MYSQL_PASSWORD=$DB_PASSWORD | ||
volumes: | ||
- db:/var/lib/mysql | ||
kaikibot: | ||
depends_on: | ||
- db | ||
links: | ||
- db | ||
ports: | ||
- "6363:6363" | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.dev | ||
network: host | ||
args: | ||
- DATABASE_URL=$DATABASE_URL | ||
- DATABASE_URL=$DATABASE_URL_DOCKER_BUILD | ||
restart: unless-stopped | ||
env_file: ./.env | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- ./src:/usr/app/src | ||
volumes: | ||
db: |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.