initial commit
This commit is contained in:
commit
cd234531b9
37 changed files with 5529 additions and 0 deletions
15
postgres/docker-compose.yaml
Normal file
15
postgres/docker-compose.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
services:
|
||||
db:
|
||||
container_name: recipe_postgres
|
||||
image: docker.io/library/postgres:17
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- POSTGRES_USER=${DB_USER}
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- POSTGRES_DB=${DB_NAME}
|
||||
ports:
|
||||
- "${DB_PORT}:5432"
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data
|
Loading…
Add table
Add a link
Reference in a new issue