Open janivanhala opened 2 weeks ago
Docker installed and running. Then next command in project root folder:
# normal
docker-compose up
# force rebuild
docker-compose up --build
# shutdown
docker-compose down
# shutdown and remove volumes (mainly to reset database related stuffs)
docker-compose down -v
Progress:
Changed .env variable naming. It seemed to conflict with NEO4J_
Neo4j community version only allows one user: 'neo4j'. Password is changeable.
Only frontend's port: 5173 open outside of docker environment. Also frontend can only communicate to backend and database can only communicate to backend. Connection isolation: Outside <-> Frontend <-> Backend <-> Database.
There are many things relating to "dev"-use, unsure if these need to be changed in the end.
Fill out dockerfiles and docker-compose correctly to create frontend <-> backend <-> database environment.
Ports handled correctly. Hope no hardcoded ports in backend/database.
Important database related: