This commit is contained in:
parent
69ead39b39
commit
97173fce29
@ -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
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user