daily pastebin goal
37%
SHARE
TWEET

Untitled

a guest Feb 17th, 2019 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3"
  2. services:
  3.   redis:
  4.     image: redis
  5.     networks:
  6.       - webnet
  7.   db:
  8.     image: postgres
  9.     networks:
  10.       - webnet
  11.     environment:
  12.       POSTGRES_PASSWORD: your_pg_password
  13.       POSTGRES_USER: your_pg_user
  14.       POSTGRES_DB: your_db_name
  15.   web:
  16.     image: your_image_name
  17.     ports:
  18.       - "3000:3000"
  19.     networks:
  20.       - webnet
  21.     environment:
  22.       DB_HOST: db
  23.       REDIS_HOST: redis
  24.     command: ["./wait-for-it.sh", "db:5432", "--", "node", "app.js"]
  25. networks:
  26.   webnet:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top