Commit b50419ec authored by Lukas Böhm's avatar Lukas Böhm
Browse files

Update docker-compose.yml

parent cb23aad2
......@@ -3,36 +3,24 @@ version: "3.8"
services:
redis:
container_name: "chiefsend-redis"
hostname: "chiefsend-redis"
image: "redis:latest"
ports:
- "6379:6379"
# hostname: chiefsend-redis
volumes:
# - type: volume
# source: chiefsend-vol
# target: /data
- type: bind
source: ./data
target: /home/chiefsend/data
command: [ "redis-server", "--appendonly", "yes" ]
rq:
container_name: "chiefsend-tasks"
image: "chiefsend:latest"
volumes:
- type: bind
source: ./data
target: /home/chiefsend/data
# - type: volume
# source: chiefsend-vol
# target: /home/chiefsend/data
#entrypoint: rq worker --with-scheduler --url ${REDIS_URL}
entrypoint: rq worker --with-scheduler
container_name: "chiefsend-rq"
image: "geekinutah/python-rq-worker"
environment:
- REDIS_HOST=chiefsend-redis
links:
- redis
web:
container_name: "chiefsend-web"
build: .
image: "chiefsend:latest"
deploy:
resources:
limits:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment