Skip to content

Commit

Permalink
fix: set environment to mapping not list of string to work around det…
Browse files Browse the repository at this point in the history
…ect secrets bug

see: Yelp/detect-secrets#791
  • Loading branch information
RobertRosca committed Sep 24, 2024
1 parent f519cc0 commit 37db56e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
zwop:
image: ${IMAGE:-ghcr.io/european-xfel/zulip-write-only-proxy}:${TAG:?error}
environment:
- ZWOP_PROXY_ROOT=/zwop
ZWOP_PROXY_ROOT: /zwop
networks:
- proxy
labels:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
zwop:
build: .
environment:
- ZWOP_PROXY_ROOT=/zwop-staging
ZWOP_PROXY_ROOT: /zwop-staging
networks:
- proxy
labels:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- ./config:/app/config
environment:
ZWOP_ADDRESS: http://0.0.0.0:8000
ZWOP_PROXY_ROOT: /zwop
ZWOP_PROXY: /zwop
env_file:
- .env
labels:
Expand Down

0 comments on commit 37db56e

Please sign in to comment.