Skip to content

Commit

Permalink
Revert "Because of nginx-proxy/nginx-proxy#304, right now docker-comp…
Browse files Browse the repository at this point in the history
…ose.prod.yml is ported back to version 1"

This reverts commit 0b2cfa5.
  • Loading branch information
noisy committed Jun 15, 2016
1 parent d6b7acb commit 8abd35c
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 52 deletions.
File renamed without changes.
48 changes: 48 additions & 0 deletions compose/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: '2'
services:
postgres:
build: ./postgres
volumes:
- /data/spistresci/postgres:/var/lib/postgresql/data
- /data/spistresci/postgres-backups:/backups
env_file: ../.env

django:
build:
context: ..
dockerfile: compose/django/Dockerfile
user: django
depends_on:
- postgres
- redis
command: /gunicorn.sh
env_file: ../.env

nginx:
build: ./nginx
depends_on:
- django
env_file: ../.env

redis:
image: redis:3.0

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

celerybeat:
build:
context: ..
user: django
env_file: ../.env
depends_on:
- postgres
- redis
command: celery -A spistresci.taskapp beat -l INFO
52 changes: 0 additions & 52 deletions docker-compose.prod.yml

This file was deleted.

0 comments on commit 8abd35c

Please sign in to comment.