add script changes and docker-compose configuration for local development

This commit is contained in:
Colin Griffin
2022-01-12 12:48:15 -05:00
parent c173699cab
commit 0910dd0349
2 changed files with 14 additions and 2 deletions

View File

@@ -36,8 +36,12 @@ services:
env_file: .env
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${DATABASE_HOST}/${POSTGRES_DB}
- NODE_ENV=development
depends_on:
- database
volumes:
- "./calendso:/app/"
- "./scripts:/app/scripts"
# Optional use of Prisma Studio. In production, comment out or remove the section below to prevent unwanted access to your database.
studio: