File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ COPY --from=builder /app /app
82
82
# Copy necessary artifacts from the webbuilder stage
83
83
COPY --from=webbuilder /usr/src/webapp/dist /var/www/html
84
84
# Expose nginx
85
- EXPOSE 80
85
+ EXPOSE 9090
86
86
87
87
# Set the PYTHONPATH environment variable
88
88
ENV PYTHONPATH=/app/src
Original file line number Diff line number Diff line change @@ -157,16 +157,16 @@ make image-build
157
157
158
158
``` bash
159
159
# Basic usage with local image
160
- docker run -p 8989:8989 -p 9090:80 codegate:latest
160
+ docker run -p 8989:8989 -p 9090:9090 codegate:latest
161
161
162
162
# With pre-built pulled image
163
163
docker pull ghcr.io/stacklok/codegate:latest
164
- docker run --name codegate -d -p 8989:8989 -p 9090:80 ghcr.io/stacklok/codegate:latest
164
+ docker run --name codegate -d -p 8989:8989 -p 9090:9090 ghcr.io/stacklok/codegate:latest
165
165
166
166
# It will mount a volume to /app/codegate_volume
167
167
# The directory supports storing Llama CPP models under subdirectory /models
168
168
# A sqlite DB with the messages and alerts is stored under the subdirectory /db
169
- docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:8989 -p 9090:80 ghcr.io/stacklok/codegate:latest
169
+ docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:8989 -p 9090:9090 ghcr.io/stacklok/codegate:latest
170
170
```
171
171
172
172
### Exposed parameters
@@ -185,7 +185,7 @@ docker run --name codegate -d -v /path/to/volume:/app/codegate_volume -p 8989:89
185
185
server (default to TEXT, can be JSON/TEXT)
186
186
187
187
``` bash
188
- docker run -p 8989:8989 -p 9090:80 -e CODEGATE_OLLAMA_URL=http://1.2.3.4:11434/api ghcr.io/stacklok/codegate:latest
188
+ docker run -p 8989:8989 -p 9090:9090 -e CODEGATE_OLLAMA_URL=http://1.2.3.4:11434/api ghcr.io/stacklok/codegate:latest
189
189
```
190
190
191
191
## 🤝 Contributing
Original file line number Diff line number Diff line change 1
1
server {
2
- listen 80 ;
2
+ listen 9090 ;
3
3
4
4
server_name localhost;
5
5
You can’t perform that action at this time.
0 commit comments