Skip to content

Commit

Permalink
fix: make port optional
Browse files Browse the repository at this point in the history
  • Loading branch information
czosel committed Nov 9, 2023
1 parent 857be7b commit e39ebf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: '3.4'

services:
proxy:
image: ghcr.io/projectcaluma/s3-hooked:latest
build:
dockerfile: Dockerfile
context: .
Expand Down
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ version: '3.4'

services:
proxy:
image: ghcr.io/projectcaluma/s3-hooked:v0.1.0
image: ghcr.io/projectcaluma/s3-hooked:latest
environment:
- PROXY_SECRET
- PROXY_OBJECT_STORE_HOST=${PROXY_OBJECT_STORE_HOST:-minio}
- PROXY_OBJECT_STORE_PORT=${PROXY_OBJECT_STORE_PORT:-9000}
- PROXY_OBJECT_STORE_SSL_ENABLED=${PROXY_OJECT_STORE_SSL_ENABLED:-true}
ports:
- "8080:8000"
Expand Down
2 changes: 1 addition & 1 deletion proxy/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class Settings(BaseSettings):
model_config = SettingsConfigDict(env_prefix="PROXY_")
OBJECT_STORE_HOST: str = "minio"
OBJECT_STORE_PORT: int = 9000
OBJECT_STORE_PORT: int
OBJECT_STORE_SSL_ENABLED: bool = True
SECRET: str
LOG_LEVEL: str = "info"
Expand Down

0 comments on commit e39ebf6

Please sign in to comment.