2023-05-03 18:17:49 +00:00
|
|
|
version: "3.8"
|
|
|
|
services:
|
|
|
|
comfy:
|
|
|
|
build:
|
|
|
|
dockerfile: Dockerfile.local
|
|
|
|
context: ./
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
|
|
|
volumes:
|
2023-05-03 18:21:28 +00:00
|
|
|
- ./:/app
|
2023-05-16 18:03:55 +00:00
|
|
|
environment:
|
|
|
|
- SECRET_KEY
|
|
|
|
- DATABASE_URL
|
|
|
|
env_file:
|
|
|
|
- .env
|
2023-05-28 16:35:08 +00:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
2023-05-03 18:17:49 +00:00
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
restart: always
|
|
|
|
environment:
|
2023-05-16 18:03:55 +00:00
|
|
|
- POSTGRES_ROOT_PASSWORD
|
|
|
|
- POSTGRES_USER
|
|
|
|
- POSTGRES_PASSWORD
|
|
|
|
- POSTGRES_DB
|
2023-05-03 18:17:49 +00:00
|
|
|
volumes:
|
|
|
|
- ../postgres/:/var/lib/postgresql
|
2023-05-16 18:03:55 +00:00
|
|
|
env_file:
|
|
|
|
- .env
|