Sign inSign up

jfahrer/checker-u-dev-a3

By jfahrer

•Updated over 8 years ago

This image can be used to verify the correct implementation of the `Use the database` example

Image
0

1.7K

jfahrer/checker-u-dev-a3 repository overview

⁠Usage

This image can be used to verify that the Use the database assignment from https://LearnDocker.online⁠ was implemented correctly.

The script provided with this image will try to connect to a PostgreSQL database and execute a SELECT * FROM requests. See the section about Environment variables for the configuration of the script.

Learn more about how this is used at https://LearnDocker.online⁠

⁠Environment variables

POSTGRES_HOST The service or container name that runs the PostgreSQL server. The script provided with this image will try to connect to this host.

POSTGRES_DB The database name that the script tries to connect to.

POSTGRES_USER The username that the script uses to connect to the PostgreSQL database.

POSTGRES_PASSWORD The password that the script uses to connect to the PostgreSQL database.

⁠Disclaimer

This image is not intended to be used in production. Its sole purpose is to demonstrate the functionalities of Docker. Head to https://LearnDocker.online⁠ for more information.

Tag summary

Content type

Image

Digest

Size

14 MB

Last updated

over 8 years ago

docker pull jfahrer/checker-u-dev-a3