21 wiersze
399 B
YAML
21 wiersze
399 B
YAML
version: "3.8"
|
|
services:
|
|
comfy:
|
|
build:
|
|
dockerfile: Dockerfile
|
|
context: ./
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- ./:/app
|
|
db:
|
|
image: postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_ROOT_PASSWORD: password
|
|
POSTGRES_USER: comfy
|
|
POSTGRES_PASSWORD: password
|
|
POSTGRES_DB: comfy_shop
|
|
volumes:
|
|
- ../postgres/:/var/lib/postgresql
|