This commit is contained in:
parent
69ead39b39
commit
97173fce29
@ -22,12 +22,12 @@ steps:
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm-demo.autonomic.zone
|
||||
environment:
|
||||
DOMAIN: nextload-demo.swarm-demo.autonomic.zone
|
||||
DOMAIN: nextload.swarm-demo.autonomic.zone
|
||||
STACK_NAME: nextload-demo_autonomic_zone
|
||||
SECRET_TOKEN_VERSION: v1
|
||||
SECRET_PAYLOAD_SECRET_VERSION: v1
|
||||
SECRET_MONGO_PASSWORD_VERSION: v1
|
||||
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:
|
||||
- publish nextjs container
|
@ -6,20 +6,19 @@ services:
|
||||
image: git.autonomic.zone/autonomic-cooperative/nextload:latest
|
||||
environment:
|
||||
- "NAME=${STACK_NAME}"
|
||||
# Payload stuff propably not needed as the local API is used?
|
||||
- "PAYLOAD_URL"
|
||||
- "PAYLOAD_URL" # Probably vestigial
|
||||
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
|
||||
- "MONGODB_USER=mongo"
|
||||
- "MONGODB_HOST=${STACK_NAME}_mongo"
|
||||
- "MONGODB_PORT=27017"
|
||||
- "MONGODB_PASSWORD_FILE=/run/secrets/mongo_password"
|
||||
- "TOKEN_FILE=/run/secrets/token"
|
||||
- "TOKEN_FILE=/run/secrets/token" # Probably vestigial
|
||||
- "DRONE_URL" # Probably vestigial
|
||||
- "REPOSITORY"
|
||||
- "DRONE_URL"
|
||||
secrets:
|
||||
- mongo_password
|
||||
- payload_secret
|
||||
- token
|
||||
- token # Probably vestigial
|
||||
volumes:
|
||||
- payload_uploads:/prod/dist/media
|
||||
networks:
|
||||
|
Loading…
Reference in New Issue
Block a user