Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
muhhae committed Mar 4, 2024
1 parent 5c318f2 commit 9bf69d8
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# lorem Ipsum
Lorem Ipsum is a website where you can upload meme and share it for the whole internet to see, it has enough feature. Like upload image, react, comment,
and delete your post. Its pretty much. I think i can improve it, But here it is.

## Feature
1. View post that user share
2. React and Comment to that post
3. Account authentication
4. Uploading image and delete it

## How to host it yourself
1. First create this compose.yaml
```yaml
services:
web:
image: muhhae/lorem-ipsum
ports:
- "8080:8080"
environment:
- MONGO_URI=mongodb://mongodb:27017/data
- PORT=8080
- JWT_SECRET=${JWT_SECRET}
depends_on:
- mongodb
mongodb:
image: mongo
ports:
- '27017:27017'
volumes:
- mongodb-data:/data/db
volumes:
mongodb-data:
```
2. Run
```cmd
docker compose up -d
# reload service on change or just update lorem ipsum image
docker compose up -d --pull=muhhae/lorem-ipsum
```

0 comments on commit 9bf69d8

Please sign in to comment.