Skip to content

Commit 5af6ea5

Browse files
authored
Minor updates
Update to include both options to use image from hub or build locally
1 parent cc364ff commit 5af6ea5

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,21 @@ The following Environment Variables are available to configure the Proxy service
6363
| `DB_PASSWORD` | `NULL` | MySQL Database Server Password |
6464
| `DB_DATABASE` | `NULL` | MySQL Database Name |
6565

66-
### Docker Build
66+
### Docker Image
6767

68+
#### Use pre-built docker image
69+
Use docker image from Docker hub
6870
```bash
69-
#Build local docker image
71+
# Run using pre-build docker image
72+
# Prepare environment variables in .env file
73+
docker run -d -p 3000:3000 --env-file ./.env --name auth-proxy softrams/prefect-auth-proxy:latest
74+
```
75+
76+
#### Build a local docker image
77+
Build a local docker image (with any changes as needed) and publish to your own repository.
78+
79+
```bash
80+
# Build local docker image
7081
docker build -t prefect-auth-proxy .
7182
# Run docker image
7283
# Prepare environment variables in .env file

0 commit comments

Comments
 (0)