Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chiefs
ChiefSend
Commits
b50419ec
Commit
b50419ec
authored
Dec 20, 2020
by
Lukas Böhm
Browse files
Update docker-compose.yml
parent
cb23aad2
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
b50419ec
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment