Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractalis
Commits
5b347c70
Commit
5b347c70
authored
Jul 19, 2018
by
Sascha Herzinger
Browse files
minor docker-compose.yml improvements
parent
fcbffef4
Pipeline
#5863
passed with stages
in 38 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker/docker-compose.yml
View file @
5b347c70
...
...
@@ -6,8 +6,10 @@ services:
sh -c "redis-server
&& redis-cli CONFIG SET maxmemory 4gb
&& redis-cli CONFIG SET maxmemory-policy allkeys-lru"
restart
:
always
rabbitmq
:
image
:
rabbitmq:alpine
restart
:
always
app
:
image
:
sherzinger/fractalis:1.0.1
volumes
:
...
...
@@ -15,9 +17,10 @@ services:
-
./config/fractalis/logging.yaml:/logging.yaml
environment
:
-
FRACTALIS_CONFIG=/config.py
command
:
gunicorn -w 3 -b :5000 --
log-file - --access
-logfile - fractalis:app
command
:
gunicorn -w 3 -b :5000 --
error
-logfile - fractalis:app
expose
:
-
5000
restart
:
always
depends_on
:
-
redis
-
rabbitmq
...
...
@@ -29,6 +32,7 @@ services:
environment
:
-
FRACTALIS_CONFIG=/config.py
command
:
celery worker -A fractalis:celery -l warning --autoscale 16,4
restart
:
always
depends_on
:
-
redis
-
rabbitmq
...
...
@@ -42,5 +46,6 @@ services:
ports
:
-
${FRACTALIS_HTTP_PORT:-80}:80
-
${FRACTALIS_HTTPS_PORT:-443}:443
restart
:
always
depends_on
:
-
app
Write
Preview
Markdown
is supported
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