mirror of
https://github.com/khuedoan/homelab.git
synced 2025-07-09 23:39:51 +07:00
Add document for running locally
This commit is contained in:
13
README.md
13
README.md
@ -6,3 +6,16 @@
|
|||||||
- Gitea: git.khuedoan.com
|
- Gitea: git.khuedoan.com
|
||||||
- Database: MariaDB
|
- Database: MariaDB
|
||||||
- Reverse proxy: NGINX
|
- Reverse proxy: NGINX
|
||||||
|
|
||||||
|
## Run locally
|
||||||
|
|
||||||
|
Add the following lines to the `/etc/hosts` file:
|
||||||
|
|
||||||
|
```
|
||||||
|
127.0.0.1 khuedoan.com
|
||||||
|
127.0.0.1 git.khuedoan.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Start the services
|
||||||
|
|
||||||
|
`$ MYSQL_ROOT_PASSWORD='PASSWORD_HERE' docker-compose up --build`
|
||||||
|
Reference in New Issue
Block a user