diff --git a/docker-compose.yml b/docker-compose.yml index 89a56a2..fd6aad0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,14 +31,10 @@ services: PAYLOAD_URL: "http://localhost:${PAYLOAD_PORT}" PAYLOAD_PORT: ${PAYLOAD_PORT} PAYLOAD_SECRET: ${PAYLOAD_SECRET} - MONGODB_USER: - MONGODB_HOST: mongo - MONGODB_PASSWORD: - MONGODB_PORT: 27017 + MONGODB_URI: "mongodb://$MONGODB_USER:$MONGODB_PASSWORD@mongo:27017" volumes: - ./payload/src:/base/src - - ./astro/src/types.ts:/types.ts - volumes: + # - ./astro/src/types.ts:/types.ts - payload_media:/prod/dist/media ports: - ${PAYLOAD_PORT}:${PAYLOAD_PORT}