Skip to content

Instantly share code, notes, and snippets.

@astrotars
Last active August 27, 2018 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save astrotars/d038949a2501e91707c6484e64c8cd23 to your computer and use it in GitHub Desktop.
Save astrotars/d038949a2501e91707c6484e64c8cd23 to your computer and use it in GitHub Desktop.
version: '3.7'
services:
api:
build:
context: .
dockerfile: Dockerfile
ports:
- '8080:8080'
logging:
driver: "json-file"
options:
max-size: "100MB"
max-file: "3"
environment:
NODE_ENV: production
DOCKER: 'true'
PRODUCT_URL: https://getstream.io/winds
PRODUCT_NAME: Winds
PRODUCT_AUTHOR: Stream
DATABASE_URI: mongodb://database/WINDS
CACHE_URI: redis://cache:6379
JWT_SECRET: INSERT_JWT_SECRET_HERE
API_PORT: 8080
STREAM_API_BASE_URL: https://windspersonalization.getstream.io/personalization/v1.0
STREAM_APP_ID: INSERT_STREAM_API_ID_HERE
STREAM_API_KEY: INSERT_STREAM_API_KEY_HERE
STREAM_API_SECRET: INSERT_STREAM_API_SECRET_HERE
ALGOLIA_WRITE_KEY: INSERT_ALGOLIA_WRITE_KEY_HERE
MERCURY_KEY: INSERT_MERCURY_KEY_HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment