added temp prod docker-compose file

pull/2/head
mtyton 2023-05-03 20:21:28 +02:00
rodzic b74e97f2c2
commit 2e5c18e7c5
2 zmienionych plików z 21 dodań i 1 usunięć

Wyświetl plik

@ -0,0 +1,20 @@
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

Wyświetl plik

@ -7,7 +7,7 @@ services:
ports:
- "8000:8000"
volumes:
- .:/app
- ./:/app
db:
image: postgres
restart: always