Update drone & compose for nextload
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user