Restart nextjs container in prod
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5e74f45855
commit
64da6f4553
@ -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"
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user