diff --git a/README.md b/README.md index 46113c61..5a87872a 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 @@ -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