Skip to content

Commit

Permalink
readme書いた
Browse files Browse the repository at this point in the history
  • Loading branch information
cateiru committed Feb 18, 2024
1 parent 2ea620b commit 2b34788
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,47 @@ docker compose up
|`gcs`|オブジェクトストレージサーバー|`4443`|
|`gcs(via nginx)`|オブジェクトストレージサーバー|`3002`|

### ローカル環境構成図

```mermaid
flowchart LR
U([User]) -->|:3000| N[nginx]
T([Go Test]) -->|:3306| D
T -->|:4443| C
subgraph docker-compose
N -->|:8080| A[backend_app]
N -->|:3001| B[frontend_app]
N -->|:4443| C[(gcs)]
A -->|:3306| D[(db)]
end
```

### 本番環境構成図

```mermaid
flowchart LR
U([User]) -->|oreore.me| N1
U -->|cdn.oreore.me| N2
subgraph Fastly
N1[Fastly 1]
N2[Fastly 2]
end
subgraph Google Cloud
N1 -->|/api,/.well-known,/fedcm| A[backend_app CloudRun]
N1 -->|other| B[frontend_app CloudRun]
N2 -->|internal| A
A --> C[(Cloud Storage)]
A --> D[(Cloud SQL)]
end
```

### 管理画面に入る方法

> [!WARNING]
Expand Down

0 comments on commit 2b34788

Please sign in to comment.