Restart nextjs container in prod
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tobias 2024-07-13 17:26:48 +02:00
parent 5e74f45855
commit 64da6f4553
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,7 @@ version: "3.8"
services: services:
nextjs: nextjs:
image: git.autonomic.zone/autonomic-cooperative/nextload:latest image: git.autonomic.zone/autonomic-cooperative/nextload:latest
restart: unless-stopped
environment: environment:
- "NAME=${STACK_NAME}" - "NAME=${STACK_NAME}"
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret" - "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"

View File

@ -2,7 +2,7 @@
services: services:
nextjs: nextjs:
image: git.autonomic.zone/autonomic-cooperative/nextload-dev:latest image: git.autonomic.zone/autonomic-cooperative/nextload-dev:latest
restart: always restart: unless-stopped
build: build:
context: ./ context: ./
target: dev target: dev
@ -27,7 +27,7 @@ services:
mongo: mongo:
image: mongo:6.0.5 image: mongo:6.0.5
restart: always restart: unless-stopped
volumes: volumes:
- mongo:/data/db - mongo:/data/db
command: command: