清空,重构
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
services:
|
||||
web:
|
||||
build: .
|
||||
env_file: .env
|
||||
command: gunicorn config.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000
|
||||
ports:
|
||||
- "8001:8000"
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
networks:
|
||||
- fonrey_net
|
||||
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
env_file: .env
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- fonrey_net
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
env_file: .env
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- fonrey_net
|
||||
|
||||
celery:
|
||||
build: .
|
||||
env_file: .env
|
||||
command: celery -A config worker -l info
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
networks:
|
||||
- fonrey_net
|
||||
|
||||
celery-beat:
|
||||
build: .
|
||||
env_file: .env
|
||||
command: celery -A config beat -l info
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
networks:
|
||||
- fonrey_net
|
||||
|
||||
networks:
|
||||
fonrey_net:
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
redis_data:
|
||||
Reference in New Issue
Block a user