File tree Expand file tree Collapse file tree 3 files changed +69
-0
lines changed
Expand file tree Collapse file tree 3 files changed +69
-0
lines changed Original file line number Diff line number Diff line change 1+ # Meet@Mensa Chat Database Service
2+
3+ A mysql database for managing chat information
4+
5+ ## Local Deployment with Docker
6+ ```
7+ # Build and tag the Docker image
8+ docker build -t chatdb .
9+
10+ # Run the Docker container forwarding port 3306 to 3306 and setting the root password via
11+ docker run --name chatdb-service -e MYSQL_ROOT_PASSWORD=root -p 3306:3306 chatdb .
12+
13+ # List running containers (if needed)
14+ docker ps
15+
16+ # Stop the container
17+ docker stop chatdb-service
18+
19+ # Remove the container
20+ docker remove chatdb-service
21+ ```
22+
23+ The mysql database will be available on ` http://127.0.0.1:3306 ` with user: ` root ` and password: ` <MYSQL_ROOT_PASSWORD> ` .
Original file line number Diff line number Diff line change 1+ # Meet@Mensa Match Database Service
2+
3+ A mysql database for managing matching information
4+
5+ ## Local Deployment with Docker
6+ ```
7+ # Build and tag the Docker image
8+ docker build -t matchdb .
9+
10+ # Run the Docker container forwarding port 3306 to 3307 and setting the root password via
11+ docker run --name matchdb-service -e MYSQL_ROOT_PASSWORD=root -p 3306:3307 matchdb .
12+
13+ # List running containers (if needed)
14+ docker ps
15+
16+ # Stop the container
17+ docker stop matchdb-service
18+
19+ # Remove the container
20+ docker remove matchdb-service
21+ ```
22+
23+ The mysql database will be available on ` http://127.0.0.1:3307 ` with user: ` root ` and password: ` <MYSQL_ROOT_PASSWORD> ` .
Original file line number Diff line number Diff line change 1+ # Meet@Mensa User Database Service
2+
3+ A mysql database for managing user information
4+
5+ ## Local Deployment with Docker
6+ ```
7+ # Build and tag the Docker image
8+ docker build -t userdb .
9+
10+ # Run the Docker container forwarding port 3306 to 3308 and setting the root password via
11+ docker run --name userdb-service -e MYSQL_ROOT_PASSWORD=root -p 3306:3308 userdb .
12+
13+ # List running containers (if needed)
14+ docker ps
15+
16+ # Stop the container
17+ docker stop userdb-service
18+
19+ # Remove the container
20+ docker remove userdb-service
21+ ```
22+
23+ The mysql database will be available on ` http://127.0.0.1:3308 ` with user: ` root ` and password: ` <MYSQL_ROOT_PASSWORD> ` .
You can’t perform that action at this time.
0 commit comments