Fix Payload local instance
All checks were successful
continuous-integration/drone/push Build is passing

Fixes autonomic-cooperative/astro-payload-template#23
This commit is contained in:
3wc 2024-05-19 12:55:40 -03:00
parent 5d84e7b38d
commit a87bff676b

View File

@ -31,14 +31,10 @@ services:
PAYLOAD_URL: "http://localhost:${PAYLOAD_PORT}" PAYLOAD_URL: "http://localhost:${PAYLOAD_PORT}"
PAYLOAD_PORT: ${PAYLOAD_PORT} PAYLOAD_PORT: ${PAYLOAD_PORT}
PAYLOAD_SECRET: ${PAYLOAD_SECRET} PAYLOAD_SECRET: ${PAYLOAD_SECRET}
MONGODB_USER: MONGODB_URI: "mongodb://$MONGODB_USER:$MONGODB_PASSWORD@mongo:27017"
MONGODB_HOST: mongo
MONGODB_PASSWORD:
MONGODB_PORT: 27017
volumes: volumes:
- ./payload/src:/base/src - ./payload/src:/base/src
- ./astro/src/types.ts:/types.ts # - ./astro/src/types.ts:/types.ts
volumes:
- payload_media:/prod/dist/media - payload_media:/prod/dist/media
ports: ports:
- ${PAYLOAD_PORT}:${PAYLOAD_PORT} - ${PAYLOAD_PORT}:${PAYLOAD_PORT}