feat: add docker-compose dev

This commit is contained in:
2026-03-03 12:34:51 +00:00
parent 3a58705635
commit f4894759d7
2 changed files with 52 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
services:
postgres:
image: postgres:16
container_name: postgres_db
container_name: crosspost_db
restart: unless-stopped
env_file:
- .env
@@ -13,14 +13,14 @@ services:
redis:
image: redis:7
container_name: redis
container_name: crosspost_redis
restart: unless-stopped
ports:
- "6379:6379"
backend:
build: .
container_name: flask_backend
container_name: crosspost_flask
env_file:
- .env
ports:
@@ -32,7 +32,7 @@ services:
worker:
build: .
container_name: celery_worker
container_name: crosspost_worker
env_file:
- .env
command: >