Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz Source: /opt/alga-psa on psa.joliet.tech
100 lines
2.5 KiB
YAML
100 lines
2.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
server:
|
|
extends:
|
|
file: docker-compose.yaml
|
|
service: server
|
|
build:
|
|
context: ../..
|
|
dockerfile: ee/server/Dockerfile
|
|
environment:
|
|
EDITION: enterprise
|
|
DB_NAME: server
|
|
PGBOSS_DATABASE: server
|
|
DB_NAME_SERVER: server
|
|
DB_USER_SERVER: postgres
|
|
DB_USER: postgres
|
|
volumes:
|
|
- type: bind
|
|
source: ./secrets/postgres_password
|
|
target: /run/secrets/postgres_password
|
|
read_only: true
|
|
entrypoint: ["/bin/sh", "-c", "export DATABASE_URL=postgresql://postgres:$$(cat /run/secrets/postgres_password)@postgres:5432/server && /app/entrypoint.sh"]
|
|
secrets:
|
|
- postgres_password
|
|
- db_password_server
|
|
develop:
|
|
watch:
|
|
- action: sync
|
|
path: ./src
|
|
target: /app/src
|
|
ignore:
|
|
- node_modules
|
|
- action: rebuild
|
|
path: package.json
|
|
|
|
setup:
|
|
extends:
|
|
file: docker-compose.yaml
|
|
service: setup
|
|
build:
|
|
context: ../..
|
|
dockerfile: ee/setup/Dockerfile
|
|
args:
|
|
SERVER_IMAGE_REPO: ${ALGA_SETUP_IMAGE_REPO:-ghcr.io/nine-minds/alga-psa-ee}
|
|
ALGA_IMAGE_TAG: ${ALGA_IMAGE_TAG:-latest}
|
|
networks:
|
|
- app-network
|
|
environment:
|
|
VERSION: ${VERSION}
|
|
APP_NAME: ${APP_NAME}
|
|
APP_ENV: ${APP_ENV:-development}
|
|
NODE_ENV: ${APP_ENV:-development}
|
|
EDITION: enterprise
|
|
NODE_OPTIONS: --experimental-vm-modules
|
|
DB_HOST: postgres
|
|
DB_PORT: 5432
|
|
DB_NAME_SERVER: server
|
|
DB_USER_SERVER: postgres
|
|
DB_USER: postgres
|
|
DB_NAME: server
|
|
PGBOSS_DATABASE: server
|
|
volumes:
|
|
- ./ee/setup/config.ini:/opt/setup/config.ini
|
|
- type: bind
|
|
source: ./secrets/postgres_password
|
|
target: /run/secrets/postgres_password
|
|
read_only: true
|
|
secrets:
|
|
- postgres_password
|
|
- db_password_server
|
|
depends_on:
|
|
postgres:
|
|
condition: service_started
|
|
entrypoint: ["/opt/setup/ee-entrypoint.sh"]
|
|
|
|
postgres:
|
|
extends:
|
|
file: docker-compose.yaml
|
|
service: postgres-base
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: server
|
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
|
secrets:
|
|
- postgres_password
|
|
networks:
|
|
- app-network
|
|
|
|
networks:
|
|
app-network:
|
|
name: ${APP_NAME:-sebastian}_app-network
|
|
driver: bridge
|
|
|
|
secrets:
|
|
postgres_password:
|
|
file: ./secrets/postgres_password
|
|
db_password_server:
|
|
file: ./secrets/db_password_server
|