Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions backend/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Postgres SQL Envs
SKILLFORGE_POSTGRES_USER="your-username"
SKILLFORGE_POSTGRES_PASSWORD="your-password"
SKILLFORGE_POSTGRES_DBNAME="your-db-name"
SKILLFORGE_POSTGRES_PORT="your-host-port"
SKILLFORGE_TIMEZONE="Europe/Sofia"
27 changes: 27 additions & 0 deletions backend/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
services:
skillforge-db:
image: postgres:17
container_name: skillforge-db
hostname: skillforge-db
environment:
POSTGRES_USER: ${SKILLFORGE_POSTGRES_USER}
POSTGRES_PASSWORD: ${SKILLFORGE_POSTGRES_PASSWORD}
POSTGRES_DB: ${SKILLFORGE_POSTGRES_DBNAME}
TZ: ${SKILLFORGE_TIMEZONE}
ports:
- "${SKILLFORGE_POSTGRES_PORT}:5432"
volumes:
- skillforge-db:/var/lib/postgresql/data
networks:
- skillforge


volumes:
skillforge-db:
driver: local
name: skillforge-db

networks:
skillforge:
driver: bridge
name: skillforge