🎉 First commit !!!
This commit is contained in:
19
backend/docker-compose.yml
Normal file
19
backend/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
|
||||
database:
|
||||
image: postgres:15.1-alpine
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
logging:
|
||||
options:
|
||||
max-size: 10m
|
||||
max-file: "3"
|
||||
ports:
|
||||
- '127.0.0.1:5438:5432'
|
||||
volumes:
|
||||
- ./docker/database/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ./docker/database/data:/var/lib/postgresql/data
|
Reference in New Issue
Block a user