Created
February 22, 2022 05:14
-
-
Save ajeetraina/aaa9143706b6751d7d8635a1610b4478 to your computer and use it in GitHub Desktop.
Docker Compose File for Movify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.7' | |
services: | |
nginx: | |
image: nginx:1.17 | |
volumes: | |
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf | |
ports: | |
- 8000:80 | |
depends_on: | |
- backend | |
- frontend | |
redis: | |
image: redislabs/redismod:latest | |
command: --loadmodule /usr/lib/redis/modules/redisearch.so --loadmodule /usr/lib/redis/modules/redisgraph.so --loadmodule | |
/usr/lib/redis/modules/rejson.so --dir /data | |
# ports: | |
# - 6379:6379 | |
volumes: | |
- ./redis-data:/data | |
frontend: | |
image: redis21_frontend | |
volumes: | |
- ./frontend:/app | |
backend: | |
image: redis21_backend | |
entrypoint: uvicorn main:app --host 0.0.0.0 --port 8000 --root-path /api --reload | |
depends_on: | |
- redis | |
environment: | |
- HOST=http://127.0.0.1:8000 | |
volumes: | |
- ./backend:/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment