added temp prod docker-compose file
rodzic
b74e97f2c2
commit
2e5c18e7c5
|
@ -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
|
|
@ -7,7 +7,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- ./:/app
|
||||||
db:
|
db:
|
||||||
image: postgres
|
image: postgres
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Ładowanie…
Reference in New Issue