feat: add docker-compose dev
This commit is contained in:
@@ -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: >
|
||||
|
||||
Reference in New Issue
Block a user