Skip to content

Commit

Permalink
Because of nginx-proxy/nginx-proxy#304, right now docker-compose.prod…
Browse files Browse the repository at this point in the history
….yml is ported back to version 1
  • Loading branch information
noisy committed Apr 12, 2016
1 parent 93836c5 commit 0b2cfa5
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 49 deletions.
File renamed without changes.
49 changes: 0 additions & 49 deletions compose/production.yml

This file was deleted.

42 changes: 42 additions & 0 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
postgres:
build: ./compose/postgres
volumes:
- /data/spistresci/postgres:/var/lib/postgresql/data
- /data/spistresci/postgres-backups:/backups
env_file: .env

django:
build: .
user: django
links:
- postgres
- redis
command: /gunicorn.sh
env_file: .env

nginx:
build: ./compose/nginx/
links:
- django
env_file: .env

redis:
image: redis:3.0

celeryworker:
build: .
user: django
env_file: .env
links:
- postgres
- redis
command: celery -A spistresci.taskapp worker -l INFO

celerybeat:
build: .
user: django
env_file: .env
links:
- postgres
- redis
command: celery -A spistresci.taskapp beat -l INFO
1 change: 1 addition & 0 deletions env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ DJANGO_OPBEAT_ORGANIZATION_ID
DJANGO_OPBEAT_APP_ID
DJANGO_OPBEAT_SECRET_TOKEN

VIRTUAL_HOST=

0 comments on commit 0b2cfa5

Please sign in to comment.