hunghvu / hungvu.tech

The official repository for hungvu.tech
https://hungvu.tech
3 stars 0 forks source link
aws cloudflare docker mongodb networking nextjs openwrt payloadcms portfolio pulumi react typescript website

Blogfolio @hungvu.tech

Main services

This monorepo currently contains 2 core services: cms (front end), and web (back end).

About cms

Powered by:

About web

Powered by:

Infrastructure

The website hungvu.tech is hosted on the following platforms:

Also:

Environment variables

All environment variables of web are configured in its Dockerfile. Meanwhile, the cms requires the following environment variables:

Database:

Payload service:

S3 service (Cloudflare R2 in this case):

How to run

  1. Clone the repository.
  2. Create an env.production.local at the same location as the docker-compose.yml file.
  3. Fill out the environment file, and alter the variables accordingly in Dockerfile, and docker-compose.yml.
  4. Create an external Docker network with docker network create blogfolio.
  5. Use docker-compose up -d --build to build and run the containers.

Author

Hung Vu:

License

Copyright © 2024 Huu Hung Vu, All Rights Reserved.