Guest User

Untitled

a guest
Jan 21st, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. Production Docker Image
  2. The following instructions assume that you have a running Kong instance following the instructions from Kong's docker hub
  3.  
  4. $ docker pull pantsel/konga
  5. $ docker run -p 1337:1337
  6. --network {{kong-network}} \ // optional
  7. -e "TOKEN_SECRET={{somerandomstring}}" \
  8. -e "DB_ADAPTER=the-name-of-the-adapter" \ // 'mongo','postgres','sqlserver' or 'mysql'
  9. -e "DB_HOST=your-db-hostname" \
  10. -e "DB_PORT=your-db-port" \ // Defaults to the default db port
  11. -e "DB_USER=your-db-user" \ // Omit if not relevant
  12. -e "DB_PASSWORD=your-db-password" \ // Omit if not relevant
  13. -e "DB_DATABASE=your-db-name" \ // Defaults to 'konga_database'
  14. -e "DB_PG_SCHEMA=my-schema"\ // Optionally define a schema when integrating with prostgres
  15. -e "NODE_ENV=production" \ // or 'development' | defaults to 'development'
  16. --name konga \
  17. pantsel/konga
Add Comment
Please, Sign In to add comment