1 Commits

Author SHA1 Message Date
blorax 4c870ba117 feat: add docker-compose config and create initial postgres schema 2026-05-29 09:55:14 +03:30
2 changed files with 31 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Dependencies
node_modules/
# IDE / System files
.DS_Store
+26
View File
@@ -0,0 +1,26 @@
services:
postgres:
image: postgres:16-alpine
container_name: learning_platform_db
environment:
POSTGRES_USER: dev_user
POSTGRES_PASSWORD: "c21d8e935a40ed83"
POSTGRES_DB: learning_platform
ports:
- "5433:5432"
volumes:
- pgdata:/var/lib/postgresql/data
pgadmin:
image: dpage/pgadmin4
container_name: learning_platform_pgadmin
environment:
PGADMIN_DEFAULT_EMAIL: ameerkhorsand@proton.me
PGADMIN_DEFAULT_PASSWORD: "2f204a6a606e8475"
ports:
- "5050:80"
depends_on:
- postgres
volumes:
pgdata: