chore: add user entity and role entity

This commit is contained in:
mahyargdz
2025-01-19 11:42:15 +03:30
parent 583fa52160
commit 58c9bfa912
6 changed files with 71 additions and 8 deletions
+36
View File
@@ -0,0 +1,36 @@
services:
pg_db:
image: postgres:alpine
env_file:
- .env
restart: always
container_name: postgres_dsc
ports:
- 54320:5432
# networks:
# - app_network
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${DB_PASS}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
# pgadmin:
# image: dpage/pgadmin4
# restart: always
# container_name: pgadmin
# ports:
# - 5050:80
# environment:
# PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL}
# PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD}
# depends_on:
# - pg_db
volumes:
postgres_data:
# networks:
# app_network:
# driver: bridge