-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
:Merge branch 'main' of github.com:iforge-uos/ignis
- Loading branch information
Showing
63 changed files
with
12,116 additions
and
9,452 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Use the official Node.js 20 slim image from Docker Hub as the base image | ||
FROM node:20-slim AS base | ||
|
||
# Set the environment variable for PNPM home and add it to the PATH | ||
ENV PNPM_HOME="/pnpm" \ | ||
PATH="$PNPM_HOME:$PATH" | ||
|
||
# Install corepack to manage Node.js package managers and install Rust and other essential tools | ||
RUN corepack enable && \ | ||
apt-get update && \ | ||
apt-get install -y curl git build-essential && \ | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ | ||
. $HOME/.cargo/env && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Add Rust to the system PATH | ||
ENV PATH="/root/.cargo/bin:${PATH}" | ||
|
||
# Copy the local code to the container | ||
COPY . /code | ||
|
||
# Set the working directory to the app directory | ||
WORKDIR /code | ||
|
||
# Install dependencies using pnpm | ||
RUN pnpm install | ||
|
||
# Expose ports (3000, 8000, 4000) used by your application | ||
EXPOSE 3000 8000 4000 | ||
|
||
# Default command to run when starting the container | ||
CMD ["pnpm", "run", "dev"] |
File renamed without changes.
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,29 @@ | ||
{ | ||
"name": "Ignis", | ||
"portsAttributes": { | ||
"3000": { | ||
"label": "anvil", | ||
"onAutoForward": "silent", | ||
"requireLocalPort": true | ||
}, | ||
"8000": { | ||
"label": "forge", | ||
"onAutoForward": "openBrowser", | ||
"requireLocalPort": true | ||
}, | ||
"4000": { | ||
"label": "mine", | ||
"onAutoForward": "silent", | ||
"requireLocalPort": true | ||
} | ||
}, | ||
"dockerComposeFile": [ | ||
"../docker-compose.yml", | ||
"docker-compose.yml" | ||
], | ||
service: "", | ||
"mounts": [ | ||
"source=${localWorkspaceFolderBasename}-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume", | ||
"source=${localWorkspaceFolder} ,target=/code,type=bind,consistency=cached" | ||
], | ||
} |
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,26 @@ | ||
version: "3.8" | ||
services: | ||
db: | ||
image: edgedb/edgedb:5.0-beta.3 | ||
env_file: | ||
- ../.env | ||
op-connect-api: | ||
image: 1password/connect-api:latest | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- "./1password-credentials.json:/home/opuser/.op/1password-credentials.json" | ||
- "1p_data:/home/opuser/.op/data" | ||
op-connect-sync: | ||
image: 1password/connect-sync:latest | ||
volumes: | ||
- "./1password-credentials.json:/home/opuser/.op/1password-credentials.json" | ||
- "1p_data:/home/opuser/.op/data" | ||
|
||
|
||
networks: | ||
|
||
volumes: | ||
db_data: | ||
redis_data: | ||
1p_data: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,9 @@ jobs: | |
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.DISCORD_ANNOUCE_WEBHOOK_URL }} | ||
content: "Ignis Entering Maintenance Mode" | ||
|
||
embed-title: "Ignis Entering Maintenance Mode" | ||
embed-color: 15548997 | ||
embed-description: "Ignis is going down for maintenance and will be back up shortly" | ||
- name: Throw up the maintenance page | ||
run: touch /home/iforge/ignis-config/file_flags/maintenance_mode/enabled | ||
|
||
|
@@ -46,4 +47,6 @@ jobs: | |
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.DISCORD_ANNOUCE_WEBHOOK_URL }} | ||
content: "Ignis Exiting Maintenance Mode..." | ||
embed-title: "Ignis Exiting Maintenance Mode" | ||
embed-color: 5763719 | ||
embed-description: "Ignis is back online!" |
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 |
---|---|---|
|
@@ -9,3 +9,4 @@ Thumbs.db | |
**/node_modules/** | ||
**/.turbo/** | ||
deploy/container-images/** | ||
**/secret/** |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.