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
9ef4c385
Commit
9ef4c385
authored
Oct 09, 2020
by
Lukas Böhm
Browse files
first try with docker compose
parent
b8a9c80d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
9ef4c385
...
...
@@ -14,5 +14,6 @@ COPY chiefsend.py chiefsend.py
ENV
FLASK_APP chiefsend.py
EXPOSE
5000
EXPOSE
6379
ENTRYPOINT
gunicorn -b :5000 --access-logfile - --error-logfile - chiefsend:app
docker-compose.yml
0 → 100644
View file @
9ef4c385
version
:
"
3.8"
services
:
redis
:
container_name
:
"
chiefsend-redis"
image
:
"
redis:latest"
ports
:
-
"
6379:6379"
hostname
:
chiefsend-redis
volumes
:
-
type
:
volume
source
:
chiefsend-vol
target
:
/data
command
:
[
"
redis-server"
,
"
--appendonly"
,
"
yes"
]
rq
:
container_name
:
"
chiefsend-tasks"
image
:
chiefsend:latest
entrypoint
:
rq worker --with-scheduler --url redis://chiefsend-redis
web
:
container_name
:
"
chiefsend-web"
build
:
.
image
:
chiefsend:latest
ports
:
-
"
8000:5000"
volumes
:
-
type
:
volume
source
:
chiefsend-vol
target
:
/home/chiefsend/data
volumes
:
chiefsend-vol
:
\ No newline at end of file
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