Update drone & compose for nextload
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
tobias
2024-06-15 13:14:39 +02:00
parent 4d450148c3
commit 998594f689
3 changed files with 8 additions and 23 deletions

View File

@ -2,12 +2,12 @@
version: "3.8"
services:
payload:
nextjs:
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_PORT=3001"
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
- "MONGODB_USER=mongo"
- "MONGODB_HOST=${STACK_NAME}_mongo"
@ -31,11 +31,11 @@ services:
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}-payload.loadbalancer.server.port=3001"
- "traefik.http.services.${STACK_NAME}-nextload.loadbalancer.server.port=3000"
# FIXME switch to /admin probably using PathPrefix
- "traefik.http.routers.${STACK_NAME}-payload.rule=Host(`admin.${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}-payload.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}-payload.tls.certresolver=production"
- "traefik.http.routers.${STACK_NAME}-nextload.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}-nextload.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}-nextload.tls.certresolver=production"
mongo:
image: mongo:6.0.5