Don't try and drone rebuild in development

Closes autonomic-cooperative/astro-payload-template#17
This commit is contained in:
3wc 2024-05-18 14:37:51 -03:00
parent 038cc1228c
commit ff1126df49

View File

@ -6,6 +6,8 @@ services:
build: build:
context: astro context: astro
command: ["yarn", "dev"] command: ["yarn", "dev"]
environment:
DEV: 1
networks: networks:
- front - front
volumes: volumes:
@ -23,8 +25,10 @@ services:
build: build:
context: payload context: payload
environment: environment:
DEV: 1
NAME: ${NAME} NAME: ${NAME}
PAYLOAD_URL: ${PAYLOAD_URL} PAYLOAD_URL: ${PAYLOAD_URL}
NODE_ENV: development
PAYLOAD_PORT: ${PAYLOAD_PORT} PAYLOAD_PORT: ${PAYLOAD_PORT}
PAYLOAD_SECRET: ${PAYLOAD_SECRET} PAYLOAD_SECRET: ${PAYLOAD_SECRET}
MONGODB_USER: MONGODB_USER: