This pull request introduces several Docker-related changes to set up and configure Docker containers for development and production environments. It also includes database initialization scripts and configuration updates for the feedfront application.
Docker Setup:
docker-compose-prod.yml: Added configuration for production services including feedfront, feedback, internal-database, and school-database with appropriate build contexts, ports, and environment variables.
docker-compose.yml: Added configuration for development services similar to the production setup with different Dockerfiles for feedfront.
Dockerfiles:
feedback/Dockerfile: Added a Dockerfile for the feedback service using Node.js.
feedfront/Dockerfile-dev: Added a Dockerfile for the development environment of the feedfront service using Node.js and Next.js.
feedfront/Dockerfile-prod: Added a Dockerfile for the production environment of the feedfront service, based on the official Next.js example.
Database Initialization:
internal-db-init.sql: Added SQL script to initialize the internal database schema with tables for users, students, teachers, admins, forms, and responses.
This pull request introduces several Docker-related changes to set up and configure Docker containers for development and production environments. It also includes database initialization scripts and configuration updates for the
feedfront
application.Docker Setup:
docker-compose-prod.yml
: Added configuration for production services includingfeedfront
,feedback
,internal-database
, andschool-database
with appropriate build contexts, ports, and environment variables.docker-compose.yml
: Added configuration for development services similar to the production setup with different Dockerfiles forfeedfront
.Dockerfiles:
feedback/Dockerfile
: Added a Dockerfile for thefeedback
service using Node.js.feedfront/Dockerfile-dev
: Added a Dockerfile for the development environment of thefeedfront
service using Node.js and Next.js.feedfront/Dockerfile-prod
: Added a Dockerfile for the production environment of thefeedfront
service, based on the official Next.js example.Database Initialization:
internal-db-init.sql
: Added SQL script to initialize the internal database schema with tables for users, students, teachers, admins, forms, and responses.Configuration Updates:
feedfront/next.config.ts
: Updated Next.js configuration to use standalone output.