Sign inSign up

the0only0vasek/free_willy_api

By the0only0vasek

•Updated over 6 years ago

A docker image for tresorio recrutment

Image
0

104

the0only0vasek/free_willy_api repository overview

⁠Building

⁠Definition

You have to define env variable to run your prisma app connected with posgres sql:

⁠API
  • PORT
  • MODE
  • SESSION_SECRET
⁠POSTGRES DATABASE
  • DB_PASS
  • DB_USER
  • DB_PORT
  • DB_NAME

⁠Run

sudo docker run -e PORT=8000 -e MODE=local -e SESSION_SECRET=keyboard_cat -e DB_URL=postgresql://$DB_USER:$DB_PASS@$DB_HOST:$DB_PORT/$DB_NAME -v ${PWD}/logs:/usr/app/logs app

Tag summary

Content type

Image

Digest

Size

426 MB

Last updated

over 6 years ago

docker pull the0only0vasek/free_willy_api:api