Fix PAYLOAD_URL for Payload
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2024-05-18 13:35:41 -03:00
parent a7a5bdd0b4
commit 5304c854af
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ steps:
SECRET_MONGO_PASSWORD_VERSION: v1 SECRET_MONGO_PASSWORD_VERSION: v1
NGINX_CONF_VERSION: v1 NGINX_CONF_VERSION: v1
REPOSITORY: "autonomic-cooperative/astro-payload-test" REPOSITORY: "autonomic-cooperative/astro-payload-test"
PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone"
depends_on: depends_on:
# - publish astro container # - publish astro container
- publish payload container - publish payload container

View File

@ -26,7 +26,7 @@ services:
image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload:latest image: git.autonomic.zone/autonomic-cooperative/astro-payload-test-payload:latest
environment: environment:
- "NAME=${STACK_NAME}" - "NAME=${STACK_NAME}"
- "PAYLOAD_URL=${STACK_NAME}_payload" - "PAYLOAD_URL"
- "PAYLOAD_PORT=3001" - "PAYLOAD_PORT=3001"
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret" - "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
- "MONGODB_USER=mongo" - "MONGODB_USER=mongo"