Skip to content

Instantly share code, notes, and snippets.

@Senhaji-Rhazi-Hamza
Created November 12, 2021 17:53
Show Gist options
  • Select an option

  • Save Senhaji-Rhazi-Hamza/5f7ba275de949bad54ef3d4a857f497c to your computer and use it in GitHub Desktop.

Select an option

Save Senhaji-Rhazi-Hamza/5f7ba275de949bad54ef3d4a857f497c to your computer and use it in GitHub Desktop.
x-back-env-file: &back-env-file
- configmaps/pyenvs/local.env
version: "3.9" # optional since v1.27.0
services:
py_worker:
image: py_worker
env_file: *back-env-file
depends_on:
- redisq
restart: 'no'
js_worker:
image: js_worker
env_file: *back-env-file
depends_on:
- redisq
restart: 'no'
redisq:
image: redis
ports:
- "6379:6379"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment