14 Commits

Author SHA1 Message Date
8ec327a149 Added workflow_dispatch
All checks were successful
nodeJS remote worker / build (pull_request) Successful in 48s
This allows one to run the workflow when they want

Signed-off-by: Aster <code@asterfialla.com>
2026-03-03 04:25:01 +11:00
ce57d15b29 Update .gitea/workflows/build-dev.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 45s
2026-03-02 15:01:33 +11:00
2114362dbb Update .gitea/workflows/sync-from-mirror.yaml
All checks were successful
nodeJS remote worker / build (push) Successful in 50s
2026-03-02 14:59:57 +11:00
d1c1754212 Update .gitea/workflows/build-dev.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 53s
2026-03-02 14:53:34 +11:00
7d438b1492 Update .gitea/workflows/sync-from-mirror.yaml
All checks were successful
nodeJS remote worker / build (push) Successful in 43s
2026-02-28 17:50:17 +11:00
c16b397cfa Add .gitea/workflows/sync-from-mirror.yaml
Some checks failed
nodeJS remote worker / build (push) Has been cancelled
Auto-Sync from Mirror / sync (push) Failing after 6s
2026-02-28 17:36:49 +11:00
e862d7c178 Update compose.yaml
All checks were successful
nodeJS remote worker / build (push) Successful in 46s
2026-02-28 17:21:56 +11:00
e40c1266c2 Update .gitea/workflows/build-main.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 45s
2026-02-28 17:20:30 +11:00
b8e155bcc5 Update .gitea/workflows/build-main.yml
Some checks failed
nodeJS remote worker / build (push) Failing after 43s
2026-02-28 17:16:53 +11:00
2551ab4343 Update .gitea/workflows/build-dev.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 47s
2026-02-28 17:16:30 +11:00
135962267d Update .gitea/workflows/build-dev.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 44s
2026-02-28 17:08:18 +11:00
24802f1b75 Update .gitea/workflows/build-main.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 42s
2026-02-28 17:01:19 +11:00
dbdb9fc38c Update .gitea/workflows/build-dev.yml
Some checks failed
nodeJS remote worker / build (push) Has been cancelled
2026-02-28 17:00:56 +11:00
a3e0aa73b4 Update .gitea/workflows/build-dev.yml
Some checks failed
nodeJS remote worker / build (push) Failing after 43s
2026-02-27 13:26:23 +11:00
4 changed files with 74 additions and 23 deletions

View File

@@ -1,10 +1,10 @@
name: nodeJS remote worker
name: Build Dev instance
on:
push:
branches: ["develop"]
branches: ["develop", "Develop"]
pull_request:
branches: ["develop"]
branches: ["develop", "Develop"]
jobs:
@@ -32,14 +32,15 @@ jobs:
context: .
push: true
tags: |
engineering.sanya.gay/pluralflux/pluralflux:latest
engineering.sanya.gay/pluralflux/pluralflux-dev:latest
- name: Deploy bot
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /root/pluralflux-dev/PluralFlux
docker compose up -d
cd ${{ secrets.BOT_DIRECTORY }}
docker compose up -d pluralflux-dev

View File

@@ -33,7 +33,7 @@ jobs:
push: true
tags: |
engineering.sanya.gay/pluralflux/pluralflux:latest
- name: Deploy bot
uses: appleboy/ssh-action@v1.0.3
with:
@@ -42,5 +42,5 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /root/pluralflux-prod/PluralFlux
docker compose up -d
cd ${{ secrets.BOT_DIRECTORY }}
docker compose up -d pluralflux-prod

View File

@@ -0,0 +1,26 @@
name: Auto-Sync from Mirror
on:
push:
repository: "Pluralflux/Pluralflux"
branches: [main,develop]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Fork
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
- name: Pull from Mirror
run: |
git remote add upstream https://engineering.sanya.gay/PluralFlux/PluralFlux.git
git fetch upstream --prune
git reset --hard origin/main
git push origin "refs/remotes/upstream/*:refs/heads/*" --force-with-lease
git merge upstream/main -m "Syncing from github"
git push origin main

View File

@@ -1,19 +1,34 @@
services:
main:
image: engineering.sanya.gay/pluralflux/pluralflux-dev
container_name: pluralflux
pluralflux-dev:
image: engineering.sanya.gay/pluralflux/pluralflux-dev:latest
container_name: pluralflux-dev
restart: unless-stopped
networks:
- pluralflux-dev-net
env_file: "variables.env"
pluralflux-prod:
image: engineering.sanya.gay/pluralflux/pluralflux:latest
container_name: pluralflux-prod
restart: unless-stopped
networks:
- pluralflux-net
env_file: "secrets.env"
postgres:
env_file: "variables-prod.env"
postgres-dev:
image: postgres:latest
container_name: pluralflux-postgres
env_file: "secrets.env"
container_name: pluralflux-dev-postgres
env_file: "variables.env"
volumes:
- pgdataDev:/var/lib/postgresql
- ./pgBackup:/mnt/pgBackup
networks:
- pluralflux-dev-net
postgres-prod:
image: postgres:latest
container_name: pluralflux-prod-postgres
env_file: "variables-prod.env"
volumes:
- pgdata:/var/lib/postgresql
ports:
- "5432:5432"
- ./pgBackup/prod/:/mnt/pgBackup/prod
networks:
- pluralflux-net
pgadmin:
@@ -21,15 +36,24 @@ services:
container_name: pluralflux-pgadmin
ports:
- "5050:80"
env_file: "secrets.env"
env_file: "variables.env"
depends_on:
- postgres
- postgres-dev
- postgres-prod
networks:
- pluralflux-net
- pluralflux-dev-net
volumes:
- pgadmindata:/var/lib/pgadmin
- ./pgBackup:/mnt/host
# uncomment the above line if you plan to restore / backup dump files from PGAdmin UI
networks:
pluralflux-net:
driver: bridge
pluralflux-dev-net:
driver: bridge
volumes:
pgdata:
secrets:
pgdataDev:
pgadmindata:
pgdata: