docker for app container
This commit is contained in:
parent
abe9d81cd6
commit
ccf898ad71
|
|
@ -0,0 +1,6 @@
|
|||
DB_HOST=postgres
|
||||
DB_PORT=5432
|
||||
DB_SCHEMA=public
|
||||
POSTGRES_DB=bizmatch
|
||||
POSTGRES_USER=bizmatch
|
||||
POSTGRES_PASSWORD=xieng7Seih
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:15.5-alpine3.19
|
||||
volumes:
|
||||
- bizmatch_volume:/var/lib/postgresql/data
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB}
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- bizmatch
|
||||
|
||||
networks:
|
||||
bizmatch:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
bizmatch_volume:
|
||||
external: true
|
||||
Loading…
Reference in New Issue