SHARE
TWEET

Untitled

a guest Dec 13th, 2016 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. db:
  2.   image: mdillon/postgis:9.6
  3.   ports:
  4.     - "5432:5432"
  5.   environment:
  6.     POSTGRES_PASSWORD: temppasswd
  7.     POSTGRES_USER: myuser
  8.     POSTGRES_DB: mydb
  9. web:
  10.   autoredeploy: true
  11.   image: myapp/myapp_api:latest
  12.   ports:
  13.     - "80:8000"
  14.   links:
  15.     - db
  16.   environment:
  17.     DATABASE_NAME: mydb
  18.     DATABASE_USER: myuser
  19.     DATABASE_PASSWORD: temppasswd
  20. cron:
  21.   autoredeploy: true
  22.   image: myapp/myapp_api:latest
  23.   links:
  24.     - db
  25.   command: cron -f -L 15
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