adding gitea actions
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user