Revert domain name
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tobias 2024-06-17 23:37:01 +02:00
parent 69ead39b39
commit 97173fce29
2 changed files with 7 additions and 8 deletions

View File

@ -22,12 +22,12 @@ steps:
deploy_key: deploy_key:
from_secret: drone_ssh_swarm-demo.autonomic.zone from_secret: drone_ssh_swarm-demo.autonomic.zone
environment: environment:
DOMAIN: nextload-demo.swarm-demo.autonomic.zone DOMAIN: nextload.swarm-demo.autonomic.zone
STACK_NAME: nextload-demo_autonomic_zone STACK_NAME: nextload-demo_autonomic_zone
SECRET_TOKEN_VERSION: v1
SECRET_PAYLOAD_SECRET_VERSION: v1 SECRET_PAYLOAD_SECRET_VERSION: v1
SECRET_MONGO_PASSWORD_VERSION: v1 SECRET_MONGO_PASSWORD_VERSION: v1
REPOSITORY: "autonomic-cooperative/nextload" REPOSITORY: "autonomic-cooperative/nextload"
DRONE_URL: "https://drone.autonomic.zone" DRONE_URL: "https://drone.autonomic.zone" # Probably vestigial
SECRET_TOKEN_VERSION: v1 # Probably vestigial
depends_on: depends_on:
- publish nextjs container - publish nextjs container

View File

@ -6,20 +6,19 @@ services:
image: git.autonomic.zone/autonomic-cooperative/nextload:latest image: git.autonomic.zone/autonomic-cooperative/nextload:latest
environment: environment:
- "NAME=${STACK_NAME}" - "NAME=${STACK_NAME}"
# Payload stuff propably not needed as the local API is used? - "PAYLOAD_URL" # Probably vestigial
- "PAYLOAD_URL"
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret" - "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
- "MONGODB_USER=mongo" - "MONGODB_USER=mongo"
- "MONGODB_HOST=${STACK_NAME}_mongo" - "MONGODB_HOST=${STACK_NAME}_mongo"
- "MONGODB_PORT=27017" - "MONGODB_PORT=27017"
- "MONGODB_PASSWORD_FILE=/run/secrets/mongo_password" - "MONGODB_PASSWORD_FILE=/run/secrets/mongo_password"
- "TOKEN_FILE=/run/secrets/token" - "TOKEN_FILE=/run/secrets/token" # Probably vestigial
- "DRONE_URL" # Probably vestigial
- "REPOSITORY" - "REPOSITORY"
- "DRONE_URL"
secrets: secrets:
- mongo_password - mongo_password
- payload_secret - payload_secret
- token - token # Probably vestigial
volumes: volumes:
- payload_uploads:/prod/dist/media - payload_uploads:/prod/dist/media
networks: networks: