Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/msa-ez/platform
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinSeongJin2 committed Feb 25, 2025
2 parents 4cef8d0 + b114a28 commit bb7c7e1
Showing 1 changed file with 29 additions and 22 deletions.
51 changes: 29 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,16 @@ docker compose up -d

### 1. Initialize Gitea

> 1. Access To http://127.0.0.1:3000/
> 1. Set Gitea Initial Configuration
> 1. **Administrator Account Setting**
> 1. Install Gitea
1. Access To http://127.0.0.1:3000/
2. Set Gitea Initial Configuration
3. **Administrator Account Setting**
4. Install Gitea

![alt text](https://github.com/user-attachments/assets/46aae576-9418-4765-924f-6e37ef5e0881)

### 2. Setting Gitea Configuration

> 1. Edit Gitea Configuration File
1. Edit Gitea Configuration File

```ini
# ./gitea/gitea/conf/app.ini
Expand All @@ -215,7 +215,7 @@ DOMAIN = gitea
SSH_DOMAIN = gitea
HTTP_PORT = 3000
# Edit ROOT_URL http://127.0.0.1:3000/ - >http://gitea:3000/
ROOT_URL = http://gitea:3000/
ROOT_URL = http://gitea:3000/
DISABLE_SSH = false
SSH_PORT = 22
SSH_LISTEN_PORT = 22
Expand All @@ -227,21 +227,21 @@ OFFLINE_MODE = true

### 3. Setting OAuth2 Application with Gitea

> 1. Login to Gitea (Administrator)
> 2. Click **Profile Icon** (top right)
> 3. Click **Settings**
> 4. Click **Applications**
> 5. **Manage OAuth2 Applications**
> - Application Name : acebase
> - Redirect URIs. Please use a new line for every URI.: **http://localhost:5757/oauth2/mydb/signin**
> 6. Click **Create Application**
> 7. **Client ID & Client Secret** issued after the registration of Application is necessary for MSAez Install, so save them.
> ![alt text](https://github.com/user-attachments/assets/5b6c5038-1f29-4bcc-b70f-ed7fe004ee97)
> 8. Click **Save**
1. Login to Gitea (Administrator)
2. Click **Profile Icon** (top right)
3. Click **Settings**
4. Click **Applications**
5. **Manage OAuth2 Applications**
- Application Name : acebase
- Redirect URIs. Please use a new line for every URI.: **http://localhost:5757/oauth2/mydb/signin**
6. Click **Create Application**
7. **Client ID & Client Secret** issued after the registration of Application is necessary for MSAez Install, so save them.
> ![alt text](https://github.com/user-attachments/assets/5b6c5038-1f29-4bcc-b70f-ed7fe004ee97)
8. Click **Save**

### 4. Setting Docker Compose Options

> 1. Setting Acebase OAuth2 Client ID & Client Secret
1. Setting Acebase OAuth2 Client ID & Client Secret

```yml
# ./docker-compose.yaml
Expand All @@ -261,25 +261,32 @@ acebase:
DB_NAME: mydb
DB_PORT: 5757
DB_HTTPS: "false"
CLIENT_ID: 689a0fc9-a7af-4e67-8096-ad2d2b05db66 # Client ID
CLIENT_SECRET: gto_uwrnodpkfxajmppgmcyislv7vdcsk53lxyaifkmoxczqncqzyi6q # Client Secret
CLIENT_ID: 689a0fc9-a7af-4e67-8096-ad2d2b05db66 # OAuth Client ID
CLIENT_SECRET: gto_uwrnodpkfxajmppgmcyislv7vdcsk53lxyaifkmoxczqncqzyi6q # OAuth Client Secret
PROVIDER: gitea
GIT: "gitea:3000" # Git URL
PROTOCOL: http
```
### 6. Add Hosts File
```
```text
# /etc/hosts

127.0.0.1 gitea
```

### 7. Restart MSAez
### 7. Restart Docker Compose

```sh
docker compose down
docker compose up -d
```

### 8. Connect MSAez

> http://localhost:8080
---

# Install MSAez on Kubernetes with GitLab
Expand Down

0 comments on commit bb7c7e1

Please sign in to comment.