Further changes to make Calendso packagable

This commit is contained in:
Alex van Andel
2021-10-27 00:23:36 +01:00
parent 78687b9836
commit 03bb6b7019
6 changed files with 28 additions and 219 deletions

View File

@@ -6,16 +6,19 @@ services:
restart: always
volumes:
- database-data:/var/lib/postgresql/data/
env_file: .env
ports:
- 5432:5432
calendso:
build: .
build:
target: "base"
restart: always
ports:
- 3000:3000
- 5555:5555
env_file: .env
command: sh -c "npx prisma migrate reset --force && yarn db-seed && yarn dev"
environment:
- NODE_ENV=development
depends_on:
- db
volumes: