Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/suraj-kumar00/fullstack-devops-project
https://github.com/suraj-kumar00/fullstack-devops-project
devops
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/suraj-kumar00/fullstack-devops-project
- Owner: Suraj-kumar00
- License: apache-2.0
- Created: 2024-10-02T10:27:50.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-25T17:25:18.000Z (about 1 month ago)
- Last Synced: 2024-11-25T18:28:29.890Z (about 1 month ago)
- Topics: devops
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FullStack-DevOps-Project
## Steps:
- write the `compose.yaml` file.
- write `.gitignore` file.```bash
docker compose up db
```### To check the container is up and running:
```bash
docker exec -it db psql -U postgres
```## Postgres Commands:
```bash
\l
\dt
``````bash
docker compose builddocker compose up -d backend
docker exec -it backend npx prisma migrate dev --name init
```Insert data directly from postgres terminal
```bash
insert into "User" (name, email) values ('frompsql', 'userfrompsqlmail');
``````bash
docker compose up -d frontend
```to stop the containers:
```bash
docker compose stop
```