New project fixes
This commit is contained in:
parent
e6c2d60fc1
commit
f7fb3f5cf7
68
dev.yml
68
dev.yml
|
@ -1,68 +0,0 @@
|
|||
version: '2'
|
||||
|
||||
volumes:
|
||||
postgres_data_dev: {}
|
||||
postgres_backup_dev: {}
|
||||
|
||||
services:
|
||||
postgres:
|
||||
build: ./compose/postgres
|
||||
volumes:
|
||||
- postgres_data_dev:/var/lib/postgresql/data
|
||||
- postgres_backup_dev:/backups
|
||||
env_file: .env
|
||||
|
||||
django:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./compose/django/Dockerfile-dev
|
||||
command: /start-dev.sh
|
||||
depends_on:
|
||||
- postgres
|
||||
env_file: .env
|
||||
volumes:
|
||||
- .:/app
|
||||
ports:
|
||||
- "8180:8000"
|
||||
links:
|
||||
- postgres
|
||||
- mailhog
|
||||
|
||||
mailhog:
|
||||
image: mailhog/mailhog
|
||||
ports:
|
||||
- "8125:8025"
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
|
||||
celeryworker:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./compose/django/Dockerfile-dev
|
||||
env_file: .env
|
||||
volumes:
|
||||
- .:/app
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
command: celery -A mhackspace.celeryapp worker -l INFO
|
||||
|
||||
celerybeat:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./compose/django/Dockerfile-dev
|
||||
env_file: .env
|
||||
volumes:
|
||||
- .:/app
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
command: celery -A mhackspace.celeryapp beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
|
||||
|
||||
bucket:
|
||||
image: minio/minio
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ./mhackspace:/data
|
||||
command: server /data
|
|
@ -55,3 +55,6 @@ GOCARDLESS_MERCHANT_ID=demo
|
|||
MATRIX_ROOM=fmCpNwqgIiuwATlcdw:matrix.org
|
||||
MATRIX_USERNAME=mhackspace
|
||||
MATRIX_PASSWORD=
|
||||
|
||||
MINIO_ACCESS_KEY=thing
|
||||
MINIO_SECRET_KEY=thing
|
||||
|
|
|
@ -100,3 +100,4 @@ django-celery-beat==1.0.1
|
|||
|
||||
argon2-cffi
|
||||
django-cors-headers
|
||||
magic
|
||||
|
|
Loading…
Reference in New Issue