14 Commits

Author SHA1 Message Date
690344934b merge upstream
All checks were successful
nodeJS remote worker / build (push) Successful in 45s
2026-02-27 12:31:38 +11:00
bf4f55c91b Upload files to ".gitea/workflows"
All checks were successful
nodeJS remote worker / build (push) Successful in 46s
2026-02-26 14:36:36 +11:00
b3566010a2 Update .gitea/workflows/build-main.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 47s
2026-02-26 00:28:41 +11:00
0eee2988ce update build-main with SSH compose deploy
Some checks failed
nodeJS remote worker / build (push) Failing after 44s
2026-02-26 00:20:49 +11:00
a86260cc4a Update .gitea/workflows/build-main.yml
All checks were successful
nodeJS remote worker / build (push) Successful in 45s
2026-02-26 00:15:15 +11:00
506e3ef9dd Update .gitea/workflows/build-main.yml
Some checks failed
nodeJS remote worker / build (push) Failing after 18s
2026-02-26 00:12:08 +11:00
6a33fb592a Update .gitea/workflows/build-main.yml
Some checks failed
nodeJS remote worker / build (push) Has been cancelled
2026-02-26 00:11:21 +11:00
2f255cefd1 Update .gitea/workflows/build-main.yml
Some checks failed
nodeJS remote worker / build (push) Failing after 18s
2026-02-26 00:09:48 +11:00
c54016de77 Delete .gitea/workflows/test-workflow.yaml
Some checks failed
nodeJS remote worker / build (push) Failing after 19s
2026-02-26 00:08:03 +11:00
31da15eaeb Update .gitea/workflows/build.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
nodeJS remote worker / build (push) Failing after 19s
2026-02-26 00:07:40 +11:00
43f4302dbc add build workflow
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
nodeJS remote worker / build (push) Failing after 33s
2026-02-25 23:55:42 +11:00
af3da44946 test
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 41s
2026-02-25 23:34:29 +11:00
af57e2e6a3 add workflows 2026-02-25 23:21:13 +11:00
77191566e3 initial setup 2026-02-25 23:18:48 +11:00
4 changed files with 105 additions and 11 deletions

View File

@@ -0,0 +1,45 @@
name: nodeJS remote worker
on:
push:
branches: ["develop"]
pull_request:
branches: ["develop"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- name: login to gitea registry
uses: docker/login-action@v3
with:
registry: ${{ gitea.server_url }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
engineering.sanya.gay/pluralflux/pluralflux:latest
- name: Deploy bot
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
port: 22
script: |
cd /root/pluralflux-dev/PluralFlux
docker compose up -d

View File

@@ -0,0 +1,46 @@
name: nodeJS remote worker
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- name: login to gitea registry
uses: docker/login-action@v3
with:
registry: ${{ gitea.server_url }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
engineering.sanya.gay/pluralflux/pluralflux: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-prod/PluralFlux
docker compose up -d

View File

@@ -1,18 +1,19 @@
services: services:
main: main:
image: engineering.sanya.gay/pluralflux/pluralflux image: engineering.sanya.gay/pluralflux/pluralflux-dev
container_name: pluralflux container_name: pluralflux
restart: unless-stopped restart: unless-stopped
networks: networks:
- pluralflux-net - pluralflux-net
env_file: "variables.env" env_file: "secrets.env"
postgres: postgres:
image: postgres:latest image: postgres:latest
container_name: pluralflux-postgres container_name: pluralflux-postgres
env_file: "variables.env" env_file: "secrets.env"
volumes: volumes:
- pgdata:/var/lib/postgresql - pgdata:/var/lib/postgresql
- ./pgBackup:/mnt/pgBackup ports:
- "5432:5432"
networks: networks:
- pluralflux-net - pluralflux-net
pgadmin: pgadmin:
@@ -20,19 +21,15 @@ services:
container_name: pluralflux-pgadmin container_name: pluralflux-pgadmin
ports: ports:
- "5050:80" - "5050:80"
env_file: "variables.env" env_file: "secrets.env"
depends_on: depends_on:
- postgres - postgres
networks: networks:
- pluralflux-net - pluralflux-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: networks:
pluralflux-net: pluralflux-net:
driver: bridge
volumes: volumes:
pgdata: pgdata:
pgadmindata: secrets:

6
secrets.env Normal file
View File

@@ -0,0 +1,6 @@
FLUXER_BOT_TOKEN=<your bot token here>
POSTGRES_PASSWORD=<your postgres password here>
PGADMIN_DEFAULT_EMAIL: <default postgres admin login>
PGADMIN_DEFAULT_PASSWORD: <your postgres password here>
PGADMIN_CONFIG_SERVER_MODE: 'False'
PGADMIN_CONFIG_MASTER_PASSWORD_REQUIRED: 'False'