adding gitea actions
Some checks failed
CI / test (push) Has been cancelled
CI / image (push) Has been cancelled

This commit is contained in:
C-West8
2026-10-23 09:24:19 -05:00
parent c9ce46d7bc
commit 3d8b453428
4 changed files with 152 additions and 37 deletions

View File

@@ -1,13 +1,18 @@
# Portainer stack (or `docker compose up -d --build`). Set the variables below in
# Portainer's stack environment, or in a .env file next to this one. See docs/runbook.md.
# Portainer stack. Portainer pulls the image that CI (.gitea/workflows/ci.yml) pushes after the
# tests pass on main; `docker compose up -d --build` builds it locally instead. Set the variables
# below in Portainer's stack environment, or in a .env file next to this one. See docs/runbook.md.
services:
sync:
build:
context: .
args:
# Only when serving plain HTTP: the exact address users open, e.g. http://sync-server:3000
# Local builds only (CI uses its ORIGIN variable): set when serving plain HTTP, to the
# exact address users open, e.g. http://sync-server:3000
ORIGIN: ${ORIGIN:-}
image: sharepoint-acc-sync:latest
# Set IMAGE to a commit tag (e.g. ...:1a2b3c4) to roll back
image: ${IMAGE:-primegit.primecontrols-dev.com/c.west/sharepoint-acc-sync:latest}
# Every deploy fetches the newest image, so a redeploy never reuses a stale one
pull_policy: always
restart: unless-stopped
ports:
- '${HOST_PORT:-3000}:3000'