SHARE
TWEET

Untitled

a guest Jun 18th, 2019 259 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. services:
  2.   blueprint:
  3.     build:
  4.       context: .
  5.       dockerfile: Dockerfile
  6.     container_name: blueprint
  7.     depends_on:
  8.     - postgres_db
  9.     entrypoint: bash /code/docker-entrypoint-dev.sh
  10.     environment:
  11.       ALLOWED_HOSTS: localhost,127.0.0.1,0.0.0.0
  12.       CORS_ORIGIN_WHITELIST: localhost,127.0.0.1,0.0.0.0
  13.       DATABASE_ENGINE: postgresql
  14.       DATABASE_HOST: postgres_db
  15.       DATABASE_NAME: blueprint
  16.       DATABASE_PASSWORD: root
  17.       DATABASE_PORT: '5432'
  18.       DATABASE_USER: root
  19.       DEBUG: 'True'
  20.       JWT_PUBLIC_KEY_RSA_BIFROST: '-----BEGIN PUBLIC KEY-----
  21.         MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALFc9NFZaOaSwUMPNektbtJqEjYZ6IRB
  22.         qhqvJu1hKPYn9HYd75c0gIDYHJ9lb7QwQvg44aO27104rDK0xSstzL0CAwEAAQ==
  23.         -----END PUBLIC KEY-----'
  24.       SECRET_KEY: ww2aa^#2381%9&2pueqk+0ix=g)7h61##(o*mez6h(@b3a3
  25.       STATIC_ROOT: /static/
  26.     image: blueprint
  27.     ports:
  28.     - 8080:8080
  29.     volumes:
  30.     - .:/code
  31.   postgres_db:
  32.     container_name: postgres_db
  33.     environment:
  34.       POSTGRES_DB: blueprint
  35.       POSTGRES_PASSWORD: root
  36.       POSTGRES_USER: root
  37.     healthcheck:
  38.       interval: 3s
  39.       retries: 5
  40.       test: pg_isready -h localhost -p 5432 -q -U postgres
  41.       timeout: 5s
  42.     image: postgres:10.4-alpine
  43.     restart: always
  44.     volumes:
  45.     - /var/lib/postgresql/data/
  46. version: '3.1'
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top