diff --git a/.drone.yml b/.drone.yml index aaf6505..85191e4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 24f8068..ea70e83 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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: