forked from SpisTresci/scrooge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Because of nginx-proxy/nginx-proxy#304, right now docker-comp…
…ose.prod.yml is ported back to version 1" This reverts commit 0b2cfa5.
- Loading branch information
Showing
3 changed files
with
48 additions
and
52 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.