forked from RedHatTraining/DO280-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
famous-quotes: change environment variable names for Dockerfile
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM golang:1.12 | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV MYSQL_VERSION=1.0 \ | ||
ENV QUOTES_VERSION=1.0 \ | ||
SUMMARY="Famous Quotes" \ | ||
DESCRIPTION="Famous Quotes is a PoC application for Go and MySQL" | ||
|
||
|
@@ -13,7 +13,7 @@ LABEL summary="$SUMMARY" \ | |
io.openshift.tags="poc,mysql,golang" \ | ||
name="redhattraining/famous-quotes" \ | ||
version="1.0" \ | ||
usage="docker run -d -e MYSQL_USER=user -e MYSQL_PASSWORD=pass -e MYSQL_DATABASE=db -p 8000:8000 redhattraining/famous-quotes" \ | ||
usage="docker run -d -e QUOTES_USER=user -e QUOTES_PASSWORD=pass -e QUOTES_DATABASE=db -p 8000:8000 redhattraining/famous-quotes" \ | ||
maintainer="Iván Chavero <[email protected]>" | ||
|
||
EXPOSE 8000 | ||
|