compose: rastro-node v4.7 + seed:access no migrate
This commit is contained in:
+9
-9
@@ -89,7 +89,7 @@ services:
|
||||
- '5000'
|
||||
ingestor:
|
||||
# DRENAGEM do ONE (passagens + fotos). Valores de cadência da produção antiga.
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
# Só ORDEM de partida, sem `condition: service_healthy`: a espera de verdade é
|
||||
# dentro do container (`wait-for-db schema rabbitmq`). Com a condição aqui, o
|
||||
@@ -128,7 +128,7 @@ services:
|
||||
MINIO_BUCKET: rastro-photos
|
||||
command: 'sh -c "wait-for-db schema rabbitmq && pnpm --filter @rastro/ingestor start"'
|
||||
migrate:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: 'no'
|
||||
depends_on:
|
||||
- db
|
||||
@@ -139,9 +139,9 @@ services:
|
||||
RASTRO_QUEUE: rastro.passagens.processar
|
||||
NODE_ENV: production
|
||||
DB_CONNECTION_LIMIT: '5'
|
||||
command: 'sh -c "wait-for-db && pnpm --filter @rastro/db migrate && pnpm --filter @rastro/db postgis && pnpm --filter @rastro/db timescale && pnpm --filter @rastro/db intel && pnpm --filter @rastro/db analyze && pnpm --filter @rastro/db restore-users"'
|
||||
command: 'sh -c "wait-for-db && pnpm --filter @rastro/db migrate && pnpm --filter @rastro/db postgis && pnpm --filter @rastro/db timescale && pnpm --filter @rastro/db intel && pnpm --filter @rastro/db seed:access && pnpm --filter @rastro/db analyze && pnpm --filter @rastro/db restore-users"'
|
||||
processor:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@@ -168,7 +168,7 @@ services:
|
||||
command: 'sh -c "wait-for-db schema rabbitmq && pnpm --filter @rastro/processor start"'
|
||||
dfe-worker:
|
||||
# Cadeia MDF-e → CT-e → NF-e (SEFAZ; Teradata para transporte além de D+1) + rota OSRM.
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@@ -226,7 +226,7 @@ services:
|
||||
TERADATA_USER: '${TERADATA_USER}'
|
||||
TERADATA_PASSWORD: '${TERADATA_PASSWORD}'
|
||||
backend:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@@ -305,7 +305,7 @@ services:
|
||||
- traefik.http.routers.rastroapicampo.priority=1000
|
||||
- traefik.http.routers.rastroapicampo.service=rastroapi
|
||||
web:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public'
|
||||
@@ -340,7 +340,7 @@ services:
|
||||
- traefik.http.routers.rastroweb.service=rastroweb
|
||||
- traefik.http.services.rastroweb.loadbalancer.server.port=39000
|
||||
admin:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public'
|
||||
@@ -374,7 +374,7 @@ services:
|
||||
# Coolify (como o /api do backend já faz). HTTPS é obrigatório — sem ele o
|
||||
# navegador não libera a câmera.
|
||||
campo:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public'
|
||||
|
||||
+9
-9
@@ -89,7 +89,7 @@ services:
|
||||
- '5000'
|
||||
ingestor:
|
||||
# DRENAGEM do ONE (passagens + fotos). Valores de cadência da produção antiga.
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
# Só ORDEM de partida, sem `condition: service_healthy`: a espera de verdade é
|
||||
# dentro do container (`wait-for-db schema rabbitmq`). Com a condição aqui, o
|
||||
@@ -128,7 +128,7 @@ services:
|
||||
MINIO_BUCKET: rastro-photos
|
||||
command: 'sh -c "wait-for-db schema rabbitmq && pnpm --filter @rastro/ingestor start"'
|
||||
migrate:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: 'no'
|
||||
depends_on:
|
||||
- db
|
||||
@@ -139,9 +139,9 @@ services:
|
||||
RASTRO_QUEUE: rastro.passagens.processar
|
||||
NODE_ENV: production
|
||||
DB_CONNECTION_LIMIT: '5'
|
||||
command: 'sh -c "wait-for-db && pnpm --filter @rastro/db migrate && pnpm --filter @rastro/db postgis && pnpm --filter @rastro/db timescale && pnpm --filter @rastro/db intel && pnpm --filter @rastro/db analyze && pnpm --filter @rastro/db restore-users"'
|
||||
command: 'sh -c "wait-for-db && pnpm --filter @rastro/db migrate && pnpm --filter @rastro/db postgis && pnpm --filter @rastro/db timescale && pnpm --filter @rastro/db intel && pnpm --filter @rastro/db seed:access && pnpm --filter @rastro/db analyze && pnpm --filter @rastro/db restore-users"'
|
||||
processor:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@@ -168,7 +168,7 @@ services:
|
||||
command: 'sh -c "wait-for-db schema rabbitmq && pnpm --filter @rastro/processor start"'
|
||||
dfe-worker:
|
||||
# Cadeia MDF-e → CT-e → NF-e (SEFAZ; Teradata para transporte além de D+1) + rota OSRM.
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@@ -226,7 +226,7 @@ services:
|
||||
TERADATA_USER: '${TERADATA_USER}'
|
||||
TERADATA_PASSWORD: '${TERADATA_PASSWORD}'
|
||||
backend:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
@@ -305,7 +305,7 @@ services:
|
||||
- traefik.http.routers.rastroapicampo.priority=1000
|
||||
- traefik.http.routers.rastroapicampo.service=rastroapi
|
||||
web:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public'
|
||||
@@ -340,7 +340,7 @@ services:
|
||||
- traefik.http.routers.rastroweb.service=rastroweb
|
||||
- traefik.http.services.rastroweb.loadbalancer.server.port=39000
|
||||
admin:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public'
|
||||
@@ -374,7 +374,7 @@ services:
|
||||
# Coolify (como o /api do backend já faz). HTTPS é obrigatório — sem ele o
|
||||
# navegador não libera a câmera.
|
||||
campo:
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.6'
|
||||
image: 'gitea.externo.utic.app.br/ericoalmeida/rastro-node:v4.7'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
DATABASE_URL: 'postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public'
|
||||
|
||||
Reference in New Issue
Block a user