diff --git a/docker-compose.yml b/docker-compose.yml index a6d34c4..249fc36 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,25 +1,7 @@ -version: "3.4" services: - mail: - image: boky/postfix - restart: always - environment: - - ALLOWED_SENDER_DOMAINS=mail.${DOMAIN} - ports: - - "587:587" - container_name: "postfix" - volumes: - - ./host/keys/:/etc/opendkim/keys postgres: image: postgres restart: always environment: - POSTGRES_USER=server - POSTGRES_PASSWORD=${DATABASE_PASSWORD} - ports: - - "5432:5432" - redis: - image: redis - restart: always - ports: - - "6379:6379" diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 63ccf26..3bb20cd 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -33,6 +33,7 @@ model Pizza { id Int @id @default(autoincrement()) name String description String? + price Decimal restaurant Restaurant @relation(fields: [restaurantId], references: [id]) restaurantId Int orders PizzaToOrder[]