Skip to content

Commit

Permalink
pass in parent enviroinment's variables for username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
nam20485 committed Feb 15, 2024
1 parent 75b0bc4 commit 8613483
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,25 @@ name: odbdesignserver-swaggerui
services:

odbdesign-server:
## enable for passing in branch name as an environment variable
#environment:
# - BRANCH=nam20485
#image: ghcr.io/nam20485/odbdesign:${BRANCH}-latest
image: ghcr.io/nam20485/odbdesign:nam20485-latest
## enable for local build via the Dockerfile (and disable "image:" key above)
# build:
# context: .
# dockerfile: Dockerfile
container_name: odbdesign-server
ports:
- 8888:8888
environment:
- ODBDESIGN_SERVER_REQUEST_USERNAME
- ODBDESIGN_SERVER_REQUEST_PASSWORD


swagger-ui:
swagger-ui:
## enable for passing in branch name as an environment variable
# environment:
# - BRANCH=nam20485
# image: ghcr.io/nam20485/odbdesignserver-swaggerui:${BRANCH}-latest
Expand Down

0 comments on commit 8613483

Please sign in to comment.