Skip to content

Instantly share code, notes, and snippets.

@ironbyte
Created March 1, 2019 06:06
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 ironbyte/cfd3f1374f15bad6c1c1fe338098d58f to your computer and use it in GitHub Desktop.
Save ironbyte/cfd3f1374f15bad6c1c1fe338098d58f to your computer and use it in GitHub Desktop.
PP Autobirther - Docker-Compose config file
version: "3"
services:
app:
build: .
container_name: planetpegasus-autobirther-app
depends_on:
- redis
links:
- redis
environment:
- DEBUG=index
command: npm run start
volumes:
- .:/usr/src/app
worker:
build: .
container_name: planetpegasus-autobirther-worker
depends_on:
- redis
links:
- redis
environment:
- DEBUG=worker:*
command: npm run start:worker
volumes:
- .:/usr/src/app
redis:
image: "redis:alpine"
container_name: redis-cache
expose:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment