Added Nbgrader

This commit is contained in:
2025-07-15 18:40:59 +02:00
parent a6db921bea
commit d7e7733166
25 changed files with 1354 additions and 17 deletions

22
postgres/compose.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
postgres:
image: postgres:15-alpine
container_name: postgres
environment:
POSTGRES_HOST: postgres
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-postgres}
ports:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
#healthcheck:
# test: ["CMD-SHELL", "pg_isready -U postgres"]
# interval: 5s
# timeout: 5s
# retries: 5
volumes:
postgres_data: # Named volume for data persistence

View File

6
postgres/postgresql.conf Normal file
View File

@@ -0,0 +1,6 @@
log_destination = 'stderr'
logging_collector = on
log_directory = '/var/log/postgres'
log_filename = 'postgresql-%Y-%m-%d.log'
log_statement = 'all'
log_rotation_age = 1d