Skip to content

Commit

Permalink
update example (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
pberton authored Oct 15, 2024
1 parent f117f43 commit 4232000
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- "generic"
- "mysql"
- "postgres"
fail-fast: false

concurrency:
group: package-${{ github.workflow }}-${{ matrix.variant }}-${{ github.head_ref }}
Expand Down Expand Up @@ -98,6 +99,7 @@ jobs:
- "generic"
- "mysql"
- "postgres"
fail-fast: false

concurrency:
group: package-multi-arch-${{ github.workflow }}-${{ matrix.variant }}-${{ github.head_ref }}
Expand Down
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,23 @@ This code is not intended for production use but can be used as reference.

## Build Example Proxy Docker Image

```
make docker-build-generic
```
- Generic proxy example

```
make docker-build-generic
```

- MySQL proxy example

```
make docker-build-generic
```

- Postgres proxy example

```
make docker-build-generic
```

## Setup Simple Postgres Serverless With Omnistrate

Expand Down
2 changes: 1 addition & 1 deletion dockercompose/postgres_demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
minReplicas: 1
enableEndpointPerReplica: true
serverlessConfiguration:
imageURL: "docker.io/njnjyyh/omnistrate-generic-proxy:0.4"
imageURL: "ghcr.io/omnistrate-oss/serverless-proxy-postgres:latest"
portsMappingProxyConfig:
maxNumberOfClustersPerProxyInstance: 9
numberOfPortsPerCluster: 1
Expand Down

0 comments on commit 4232000

Please sign in to comment.